Skip to content

In-depth lesson · Info disclosure

Typical fixes

Every point the Info disclosure reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 201 to 250 of 551
  1. Check that the thumbnail offset is within the file size before reading, and abort or initialise the buffer when the read returns fewer bytes than expected.

    Seen in 1 report
  2. Check the caller's scope before serialising the runner registration token.

    Seen in 1 report
  3. Check the credential's locked state in the API before returning secret material.

    Seen in 1 report
  4. Check the cross-domain flag before sending a username to the renderer.

    Seen in 1 report
  5. Check the final response URL rather than the pre-redirect request URL.

    Seen in 1 report
  6. Check the identity provider's token revocation and end existing sessions.

    Seen in 1 report
  7. Check the origin of sign-in requests when authority configuration is discovered by default.

    Seen in 1 report
  8. Check the requester's relationship before resolving an internal identifier to an email address.

    Seen in 1 report
  9. Check the return value of the external tool and initialise the buffer before copying it into the response.

    Seen in 1 report
  10. Check the send return value in release builds rather than only with a debug assertion.

    Seen in 1 report
  11. Check the URL origin and restrict which pages can call the JavaScript bridge.

    Seen in 1 report
  12. Check the visibility setting of the underlying project's repository before listing packages at group level.

    Seen in 1 report
  13. Check user-space size and index values against buffer bounds.

    Seen in 1 report
  14. Check viewer authorisation before embedding asset URLs for private videos and do not vary content by user agent.

    Seen in 1 report
  15. Check whether an account should see objects before returning a listing.

    Seen in 1 report
  16. Check whether the caller is allowed to list all users, not just whether they are logged in.

    Seen in 1 report
  17. Check whether the user has permission to see repository tags before including edit_url in the releases API response.

    Seen in 1 report
  18. Check whether users are friends before returning sensitive fields like phone numbers in friend request responses.

    Seen in 1 report
  19. Check who is asking and hide filenames when serving stored files.

    Seen in 1 report
  20. Check width and height against the size of the image data after the header, not the entire file size.

    Seen in 1 report
  21. Clear or hide taskbar previews when the screen locks or the device sleeps.

    Seen in 1 report
  22. Clear or validate memory before returning it to user-mode callers in the NFS ONCRPC XDR driver.

    Seen in 1 report
  23. Clear the former members edge when the member list is restricted.

    Seen in 1 report
  24. Clear the SigV4 authentication bit when the parameter string is cleared.

    Seen in 1 report
  25. Compare secret tokens in constant time rather than through an indexed lookup.

    Seen in 1 report
  26. Compute the result count after access filtering so the badge does not reveal restricted content.

    Seen in 1 report
  27. Configure a valid certificate covering the images subdomain on the reverse proxy.

    Seen in 1 report
  28. Configure SharePoint web services to require authentication and not be accessible to anonymous users.

    Seen in 1 report
  29. Configure the web server to block access to the Laravel environment file.

    Seen in 1 report
  30. Convert internationalised domain names to punycode before displaying user-supplied URLs.

    Seen in 1 report
  31. Copy the attr() taint flag when rebuilding custom property data.

    Seen in 1 report
  32. Correct how credential information is stored and transmitted.

    Seen in 1 report
  33. Correct how file redirections are handled in the Projected Filesystem.

    Seen in 1 report
  34. Cover the Grafana metrics endpoint with the same authentication changes applied to the Grafana dashboard.

    Seen in 1 report
  35. Decide challenge ownership by more than the status code so proxy challenges do not poison origin auth state.

    Seen in 1 report
  36. Decode common encodings before inspecting for sensitive data.

    Seen in 1 report
  37. Derive the credential search key from the committed origin rather than the document URL.

    Seen in 1 report
  38. Detach the fork relationship when a project's visibility is changed to private.

    Seen in 1 report
  39. Disable anonymous FTP access and avoid storing plaintext credentials in publicly accessible directories.

    Seen in 1 report
  40. Disable detailed error reporting on beta environments.

    Seen in 1 report
  41. Disable DNS prefetching on links rendered in the developer tools console.

    Seen in 1 report
  42. Disable introspection and remove deprecated root-level nodes.

    Seen in 1 report
  43. Disable introspection in production and add authentication and authorisation to bulk extraction queries.

    Seen in 1 report
  44. Disable LOAD DATA LOCAL in the MySQL client configuration so a user-controlled database server cannot request local files.

    Seen in 1 report
  45. Disable or protect Actuator endpoints in production.

    Seen in 1 report
  46. Disable or restrict the debug trace report feature to administrators.

    Seen in 1 report
  47. Disable or restrict the users route so it does not return user data to unauthenticated requests.

    Seen in 1 report
  48. Disable public read and directory listing on upload buckets.

    Seen in 1 report
  49. Disable rasterizer discard before the frame-end copy draw.

    Seen in 1 report
  50. Disable remote access to the error log endpoint or put authentication and IP restriction in front of it.

    Seen in 1 report