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.
-
Make the network stack and renderer agree on which Content-Type value to use when several are present.
Seen in 1 report
-
Mark all newly allocated reference buffers as corrupted on a decode error, not just the last one.
Seen in 1 report
-
Mark extension-originated reports as such and strip the subresource URL before sending.
Seen in 1 report
-
Mark internal documents with noindex and block them in robots.txt.
Seen in 1 report
-
Mask connection settings and restrict them to authorised users.
Seen in 1 report
-
Mask sensitive identifiers and hash tracking URLs.
Seen in 1 report
-
Move HMAC signing to the server so the secret is never bundled into client-side JavaScript.
-
Name the exact feedback origin as the target origin instead of using a wildcard.
Seen in 1 report
-
Neutralise formula-leading characters when writing user-supplied values into spreadsheet cells.
Seen in 1 report
-
Never send passwords in cleartext emails or expose them in page source; store only a hash.
Seen in 1 report
-
Obfuscate matched option values in the select branch as other field types are.
Seen in 1 report
-
Omit hidden private program settings from JSON responses entirely.
Seen in 1 report
-
Omit the reviewer identifier on anonymous reviews and require authentication on the profile endpoint.
Seen in 1 report
-
Omit the secret value or use a placeholder instead of rendering it into the HTML input's value attribute.
Seen in 1 report
-
Only query the lookup server with the user's cloud ID when federated cloud sharing is enabled.
Seen in 1 report
-
Parse the same OpenAPI object for validation and execution, and check $id as well as $ref for external references.
Seen in 1 report
-
Pass an invalid default network handle to proxied sessions so migration checks do not succeed.
Seen in 1 report
-
Pass the blob timecode through the platform's time-coarsening function.
Seen in 1 report
-
Pass the initiating subframe's origin to the requirements service.
Seen in 1 report
-
Pause active hardware queries when switching to an uninitialised virtual context.
Seen in 1 report
-
Perform bounds checks in a way that cannot wrap when the declared length exceeds the packet size.
Seen in 1 report
-
Place data files outside publicly served directories or add access controls.
Seen in 1 report
-
Populate the stop words attribute only with tokens needed for the calculation, not all training tokens.
Seen in 1 report
-
Prepare draw buffers for clearing after the draw framebuffer is bound, so the clear targets the right framebuffer.
Seen in 1 report
-
Prevent event information leaking through recurrence exceptions on shared calendars.
Seen in 1 report
-
Properly initialise objects in memory in the RPC runtime.
Seen in 1 report
-
Properly restrict access to heap memory in the Windows GDI component.
Seen in 1 report
-
Properly sanitise and handle the IPv6 flowlabel field in the Windows TCP/IP stack.
Seen in 1 report
-
Properly validate and restrict memory operations so an unprivileged write from the host application cannot affect enclave memory.
Seen in 1 report
-
Properly validate user-supplied data in the UIFoundation module to prevent out-of-bounds reads.
Seen in 1 report
-
Put an authentication layer in front of internal tools rather than relying on network isolation.
Seen in 1 report
-
Recursively remove or block child attributes of excluded object fields.
Seen in 1 report
-
Redact credential fields and restrict them to owners with an authorisation check.
Seen in 1 report
-
Redact or hide previous report titles in the public disclosure view.
Seen in 1 report
-
Redact sensitive configuration fields and credentials before writing them to diagnostic logs.
Seen in 1 report
-
Redact stored keys from health endpoint responses and enforce access control.
Seen in 1 report
-
Redact the string-to-sign and signature before passing them to the logging function.
Seen in 1 report
-
Reduce timing and pattern differences in wallet communication with the node so they do not depend on whether the wallet is the recipient of a transaction.
Seen in 1 report
-
Reject empty Host headers and do not store cookies with an empty domain.
Seen in 1 report
-
Relocate sensitive data to a protected location.
-
Remove backup archives from publicly accessible web directories.
Seen in 1 report
-
Remove credentials from publicly accessible JavaScript configuration files.
Seen in 1 report
-
Remove dangling DNS records that point to unclaimed external services.
Seen in 1 report
-
Remove deleted content from CDN and backup systems.
Seen in 1 report
-
Remove hard-coded administrator credentials and require unique credentials per installation.
-
Remove hard-coded internal and staging hostnames from client-side bundles and protect staging environments.
Seen in 1 report
-
Remove internal hostnames from client-side JavaScript and restrict staging services.
Seen in 1 report
-
Remove leftover phpinfo pages and stop setting API keys as global environment variables for all virtual hosts.
Seen in 1 report
-
Remove or obfuscate internal user identifiers from page source.
Seen in 1 report
-
Remove or restrict the DWR default test/debug index page in production.