Tips

Newest tips

Published tips, newest first. Payloads and commands are shown as plain text.

  • Audit extensions for code execution

    Check extensions for vulnerabilities that allow code execution, such as rendering bugs that can turn a file into executable code. This can be done by auditing the extension's code and testing its rendering functionality with specially crafted files. For example, test a Markdown…

    Remote code execution (RCE)Discovery

  • Test email templates for injection

    Test email templates for injection by trying to insert HTML tags, such as <a href> or <img>, into user-controlled values like names, companies, or custom messages. If the input is not properly validated or encoded, an attacker can manipulate the email content. Look for endpoints…

    Other injection (LDAP, XPath, XSLT, CSS, LaTeX)Discovery

  • Verify vulnerable components

    When reviewing a target's application, look for version metadata that can be compared with public advisories. Check if the deployed version falls within the affected range and verify the impact by checking the feature as it would be used normally. Then, review the source code to…

    Insecure deserializationDiscovery

  • Test Origin header validation

    When testing a web application, try modifying the Origin header using a tool like Burp Suite to see if the server reflects the supplied value. If it does, investigate further to determine if the application is using a weak validation check, such as startsWith(), which could allow

    CORS misconfigurationDiscovery

  • Validate Business Rules At Every Endpoint

    When testing an application, never assume that restrictions enforced by the user interface are also enforced by the backend. Every endpoint must validate business rules independently. To find business logic vulnerabilities, try to bypass restrictions by manipulating requests to…

    Business logicDiscovery

  • Test API doc renderers for XSS

    When testing API documentation tools, look for renderers that convert Markdown to HTML. Check if the renderer allows raw HTML in the input by searching for html: true in the code. Then, verify if the HTML output is properly sanitized. If not, it may be possible to inject malicio…

    Cross-site scripting (XSS)Discovery

  • Test for DOMPurify bypasses

    When a target uses DOMPurify for sanitization, look for custom hooks that may introduce vulnerabilities. Check the uponSanitizeAttribute, uponSanitizeElement, and afterSanitizeAttributes hooks for potential bypasses. Test for namespace confusion and attribute smuggling by inject…

    Cross-site scripting (XSS)Discovery

  • Check ETag length for leaks

    When testing for XS-Leaks, compare the ETag header length in responses where a search query hits and misses a target resource. A difference in length can indicate a leak. This can occur when the response size crosses a boundary, such as from 0xfff to 0x1000, changing the number…

    Information disclosureDiscovery

  • Test Blob URLs for origin recovery

    When a web application uses Blob URLs, test if you can recover the origin by copying and pasting the URL into a new tab. If the window.origin changes from 'null' to the application's origin, you may be able to execute arbitrary JavaScript on that origin. To automate this, use Ja…

    Cross-site scripting (XSS)Exploitation

  • Test exposed services for vulnerabilities

    When testing a target, look for exposed network ports and services. Use tools like nmap to scan for open ports and identify the services running on them. In this case, the target exposed port 2086, which was meant for inter-process communication on localhost but was instead list…

    Remote code execution (RCE)Discovery

  • Test for unauthenticated RCE in Java servlets

    When investigating a target, look for Java servlets that are exposed to the Internet without authentication. Test if these servlets pass user-controlled input to Runtime.exec(String[]), which can lead to remote code execution (RCE). Use an inert probe, such as a sleep command, to

    Remote code execution (RCE)Discovery

  • Test IIS for shortname enumeration

    IIS servers may be vulnerable to shortname enumeration, which can reveal the first six characters of file or directory names. This can be used to discover hidden directories or files. To test for this vulnerability, send a request to the server with a shortname, such as MICROS~1…

    Information disclosureDiscovery

  • Scan NGINX for HTTP/2 flaws

    To find NGINX servers vulnerable to HTTP/2 flaws, use Nmap to scan for the version and HTTP/2 support. You can use a script like http-vuln-cve2026-123007.nse to check for these conditions. Scan by hostname rather than IP to ensure you test the correct site, as HTTP/2 is set per…

    Remote code execution (RCE)Discovery

  • Verify JWT algorithm

    When verifying JSON Web Tokens (JWTs), always specify the expected algorithm to prevent attackers from manipulating the alg attribute in the token header. Use a library that allows you to pass an explicit algorithm to verify(), such as jwt.verify(secret, token, 'HS256'). This pr…

    JSON Web Tokens (JWT)Exploitation