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.
-
Return a generic message for both registered and unregistered email addresses in the password reset form.
-
Return a single generic response for registered and unregistered emails and enforce rate limiting and CSRF token uniqueness.
-
Return a uniform response for existing and missing release tags.
Seen in 1 report
-
Return generic error messages instead of full stack traces.
Seen in 1 report
-
Return indistinguishable responses for registered and unregistered phone numbers.
Seen in 1 report
-
Return one generic response for every reset request regardless of whether the email exists.
Seen in 1 report
-
Return the same HTTP status code for existing and non-existent usernames on the avatar endpoint.
Seen in 1 report
-
Return the same response for existing private and non-existent repositories so Content-Type headers do not reveal existence.
Seen in 1 report
-
Return uniform responses during pairing so internal conditions cannot be distinguished.
Seen in 1 report
-
Revoke pending invitations when the program handle changes.
Seen in 1 report
-
Run the origin validation for controlled-frame embedder scripts for all renderer processes, not only guest-only ones.
Seen in 1 report
-
Sanitise path input in the CSV report endpoint.
-
Sanitise the directory picker object so the full path and username are not exposed.
Seen in 1 report
-
Sanitise the initiator's source location URL before sending it to the subframe renderer.
Seen in 1 report
-
Scope SCIM lookups to the requesting group.
Seen in 1 report
-
Select the clear type based on the attachment's internal format, as the framebuffer clear path already does.
Seen in 1 report
-
Send a cache-control header that prevents caching of sensitive pages.
Seen in 1 report
-
Send a notification email after password reset or change events.
Seen in 1 report
-
Send an X-Robots-Tag header on user-uploaded files.
Seen in 1 report
-
Send cache-control headers that prevent storage of sensitive account pages.
Seen in 1 report
-
Separate user-supplied parameters from git flags before passing them to git commands.
Seen in 1 report
-
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
-
Set a referrer policy on pages that carry reset tokens and keep tokens out of URLs that link externally.
Seen in 1 report
-
Set a referrer policy to prevent leaking preview tokens in the Referer header.
-
Set allowBackup to false or exclude sensitive data from backups.
Seen in 1 report
-
Set correct permissions on objects within the Volume Manager.
-
Set HttpOnly and Secure on authentication cookies and keep lifetimes short.
Seen in 1 report
-
Set the initialised flag only after the copy succeeds, with rollback on failure.
Seen in 1 report
-
Set the SameSite attribute on authentication cookies.
Seen in 1 report
-
Set the secure attribute on cookies and force all traffic over HTTPS.
Seen in 1 report
-
Share randomisation state globally instead of per execution context.
Seen in 1 report
-
Slice the backing buffer by the view's offset and length before sending.
Seen in 1 report
-
Store log files outside web-accessible directories or protect them with access controls.
Seen in 1 report
-
Store sensitive files outside the publicly served webroot.
Seen in 1 report
-
Store sensitive information securely during import and conversion.
Seen in 1 report
-
Strip EXIF metadata from uploaded and downloaded images.
Seen in 1 report
-
Strip fragments and credentials from report URLs before serialising them.
Seen in 1 report
-
Strip metadata from documents before making them public.
-
Strip netrc credentials from the URL handle before resolving a relative redirect.
Seen in 1 report
-
Strip or blank the Referer header on cross-site navigation in Tor private windows.
Seen in 1 report
-
Strip or re-encode EXIF metadata from uploaded images.
Seen in 1 report
-
Strip or replace user identifiers in image metadata during upload or processing.
Seen in 1 report
-
$3,000 High
-
-
Strip sensitive headers when following redirects to a different origin.
-
Strip the Cookie header when following a redirect to a different host, as RFC 9110 requires.
Seen in 1 report
-
Medium
-
-
Submit login forms with POST and avoid leaking the URL to third-party resources through the Referer header.
-
Suppress file paths in password lock error output.
Seen in 1 report
-
Suppress installation paths in error messages.
Seen in 1 report
-
Target the frame that owns the context-menu interaction rather than always the main frame.
Seen in 1 report
-
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
-
Treat an explicit zero-bit CIDR rule as match-all rather than an exact address.
Seen in 1 report