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 451 to 500 of 551
  1. Return a generic message for both registered and unregistered email addresses in the password reset form.

    Seen in 1 report
  2. Return a single generic response for registered and unregistered emails and enforce rate limiting and CSRF token uniqueness.

    Seen in 1 report
  3. Return a uniform response for existing and missing release tags.

    Seen in 1 report
  4. Return generic error messages instead of full stack traces.

    Seen in 1 report
  5. Return indistinguishable responses for registered and unregistered phone numbers.

    Seen in 1 report
  6. Return one generic response for every reset request regardless of whether the email exists.

    Seen in 1 report
  7. Return the same HTTP status code for existing and non-existent usernames on the avatar endpoint.

    Seen in 1 report
  8. Return the same response for existing private and non-existent repositories so Content-Type headers do not reveal existence.

    Seen in 1 report
  9. Return uniform responses during pairing so internal conditions cannot be distinguished.

    Seen in 1 report
  10. Revoke pending invitations when the program handle changes.

    Seen in 1 report
  11. Run the origin validation for controlled-frame embedder scripts for all renderer processes, not only guest-only ones.

    Seen in 1 report
  12. Sanitise path input in the CSV report endpoint.

    Seen in 1 report
  13. Sanitise the directory picker object so the full path and username are not exposed.

    Seen in 1 report
  14. Sanitise the initiator's source location URL before sending it to the subframe renderer.

    Seen in 1 report
  15. Scope SCIM lookups to the requesting group.

    Seen in 1 report
  16. Select the clear type based on the attachment's internal format, as the framebuffer clear path already does.

    Seen in 1 report
  17. Send a cache-control header that prevents caching of sensitive pages.

    Seen in 1 report
  18. Send a notification email after password reset or change events.

    Seen in 1 report
  19. Send an X-Robots-Tag header on user-uploaded files.

    Seen in 1 report
  20. Send cache-control headers that prevent storage of sensitive account pages.

    Seen in 1 report
  21. Separate user-supplied parameters from git flags before passing them to git commands.

    Seen in 1 report
  22. Set a 'personal' flag on location history add-ons so they are blocked by the lock screen and personal results setting.

    Seen in 1 report
  23. Set a referrer policy on pages that carry reset tokens and keep tokens out of URLs that link externally.

    Seen in 1 report
  24. Set a referrer policy to prevent leaking preview tokens in the Referer header.

    Seen in 1 report
  25. Set allowBackup to false or exclude sensitive data from backups.

    Seen in 1 report
  26. Set correct permissions on objects within the Volume Manager.

    Seen in 1 report
  27. Set HttpOnly and Secure on authentication cookies and keep lifetimes short.

    Seen in 1 report
  28. Set the initialised flag only after the copy succeeds, with rollback on failure.

    Seen in 1 report
  29. Set the SameSite attribute on authentication cookies.

    Seen in 1 report
  30. Set the secure attribute on cookies and force all traffic over HTTPS.

    Seen in 1 report
  31. Share randomisation state globally instead of per execution context.

    Seen in 1 report
  32. Slice the backing buffer by the view's offset and length before sending.

    Seen in 1 report
  33. Store log files outside web-accessible directories or protect them with access controls.

    Seen in 1 report
  34. Store sensitive files outside the publicly served webroot.

    Seen in 1 report
  35. Store sensitive information securely during import and conversion.

    Seen in 1 report
  36. Strip EXIF metadata from uploaded and downloaded images.

    Seen in 1 report
  37. Strip fragments and credentials from report URLs before serialising them.

    Seen in 1 report
  38. Strip metadata from documents before making them public.

    Seen in 1 report
  39. Strip netrc credentials from the URL handle before resolving a relative redirect.

    Seen in 1 report
  40. Strip or blank the Referer header on cross-site navigation in Tor private windows.

    Seen in 1 report
  41. Strip or re-encode EXIF metadata from uploaded images.

    Seen in 1 report
  42. Strip or replace user identifiers in image metadata during upload or processing.

    Seen in 1 report
  43. Strip sensitive headers when following redirects to a different origin.

    Seen in 1 report
  44. Strip the Cookie header when following a redirect to a different host, as RFC 9110 requires.

    Seen in 1 report
  45. Submit login forms with POST and avoid leaking the URL to third-party resources through the Referer header.

    Seen in 1 report
  46. Suppress file paths in password lock error output.

    Seen in 1 report
  47. Suppress installation paths in error messages.

    Seen in 1 report
  48. Target the frame that owns the context-menu interaction rather than always the main frame.

    Seen in 1 report
  49. The program changed the flow so that attempts to register an existing account show the same pending-verification screen as a successful registration.

    Seen in 1 report
  50. Treat an explicit zero-bit CIDR rule as match-all rather than an exact address.

    Seen in 1 report