application security
74 TopicsThreat Research: Dependency Confusion exercise 8
Humble Pie is not updating after 60 seconds it is stuck in the version 1.0.0 my packages have been created my setup.py seems to be working fine But I am never getting an answer in listening, never getting the connection and build.log is NEVER updating to latest version why is this not working... I really need to have this lab finished for my work.40Views0likes1CommentCWE-565: Reliance on Cookies Without Validation and Integrity CheckingOpens in a new tab
I was working on this excercise CWE-565: Reliance on Cookies Without Validation and Integrity CheckingOpens in a new tain find the Flaw: Java – Software and Data Integrity Failures Theory lab even after selecting the correct vuln name and the code lines, it is showing as incorrect line selected, please assist me on this code Find the Flaw: Java – Software and Data Integrity Failures (AIG Refresh) Theory lab Select the line numbers containing the vulnerable code, then select the correct CWE identifier for the vulnerability. Incorrect Reset selection Selected lines: ?? Select a Vulnerability Select a VulnerabilityCWE-276: Incorrect Default PermissionsCWE-565: Reliance on Cookies without Validation and Integrity CheckingCWE-502: Deserialization of Untrusted Data CWE-915: Improperly Controlled Modification of Dynamically-Determined Object AttributesCWE-829: Inclusion of Functionality from Untrusted Control Sphere CWE-280: Improper Handling of Insufficient Permissions or PrivilegesCWE-353: Missing Support for Integrity Check CWE-494: Download of Code Without Integrity Check @WebServlet("/checkout") public class CheckoutServlet extends HttpServlet { @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {HttpSession session = req.getSession(false); Long userId = (Long) session.getAttribute("userId"); User user = userService.findById(userId); if (user == null) { resp.sendError(HttpServletResponse.SC_NOT_FOUND,"User not found"); return;} Basket basket = basketService.findByUserId(userId); if (basket == null || basket.getItems().isEmpty()) { resp.sendError(HttpServletResponse.SC_BAD_REQUEST, "Basket is empty"); return;} double totalCost = 0; for (Item item : basket.getItems()) { totalCost += (item.getCost() * item.getQuantity()); } Cookie[] cookies = req.getCookies(); double discount = 0; if (cookies != null) { for (Cookie cookie : cookies) { if (cookie.getName().equals("applyDiscount")) { try{ discount = Double.parseDouble(cookie.getValue()); } catch(NumberFormatException e){ resp.sendError(HttpServletResponse.SC_BAD_REQUEST, "Invalid discount"); return;} break;} } } totalCost -= (totalCost * (discount / 100)); resp.setContentType("application/json"); resp.getWriter().write("{\"totalCost\":" + totalCost + "}"); } }7Views0likes0CommentsStruggling to find the IT email on Simulations: BarterTown Delivery
During the last few days, I’ve been stuck on this lab, and I’m not sure what I’m missing. The lab asks us to use OSINT tools and techniques to gather intelligence about individuals to target within the organization, with the goal of testing the awareness of BarterTown’s IT staff and eventually gaining a foothold in the internal network. I’ve been using the information provided by the lab as a starting point for my reconnaissance. The website gives us several employees and their email addresses, but none of them are identified as IT staff. I also found the DNS SOA contact (hostmaster.bartertown.bitnet), but that appears to be a standard administrative DNS alias rather than an actual employee. The mail server does not seem to allow useful anonymous user enumeration, and the other reconnaissance results have not revealed the missing user. Has anyone completed this lab and can give me a hint about where/how the missing target information is supposed to be discovered?24Views0likes0CommentsHelp Request – Infrastructure Hacking: Demonstrate Your Skills – Attacking UnrealIRC
Hi Everyone, I’m currently working on the Infrastructure Hacking: Demonstrate Your Skills – Attacking UnrealIRC lab and have been stuck on Target 2. The target is running an SMTP server that is vulnerable to remote code execution. After identifying the software and version, I attempted to develop and execute an exploit to retrieve the token located in /root/token.txt. I also noted the hint that ncat is installed on the target. I have tried multiple approaches, including the exploit script shared below, but I have not been successful in obtaining a shell or retrieving the token. Despite several troubleshooting attempts, I’m unable to progress further. Has anyone completed this lab successfully? If so, I would greatly appreciate any guidance, hints, or suggestions that could help me understand what I might be missing. The target server has ncat installed. can someone complete this lab, can please help me Thank you in advance for your help and support! Regards, Prashanth N.82Views0likes1CommentLab not getting complete even it is correct
I am working on C# / ASP.NET API from the I am doing ASP.NET Core API: Username Enumeration lab, this lab task 1 is always showing incomplete even after I am generating correct results [HttpPost("login")] public ActionResult<LoginResponse> LoginUser(LoginRequest request) { var user = _repository.GetUserByEmail(request.Email); var passwordValid = _hashingService.VerifyPassword( request.Password, user.Password ); if (user == null || !passwordValid) { return Unauthorized(); } return new LoginResponse { Jwt = _jwtService.GenerateJwt(user.Id, user.Email) }; } Could you please help? I need to complete this today? Regards Nagesh98Views0likes3CommentsNetwork Hardening Lab Recommendations
I've been looking for some good training resources for network hardening. I've been working through the Windows Hardening collection and found it really useful. Are there any other lab recommendations similar to this? In particular hardening things such as PfSense firewalls, Vyos routers, Linux endpoints etc.Solved112Views0likes3Comments