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.
-
Disable directory listing and add default index files.
Seen in 3 reports
-
Disable verbose error reporting and return generic error pages instead of stack traces.
Seen in 3 reports
-
Enforce field-level authorisation in GraphQL operations.
Seen in 3 reports
-
Fix URL handling so crafted URLs do not disclose browser information or modify link content.
Seen in 3 reports
-
Harden handling of crafted files opened by users to prevent token and hash disclosure.
Seen in 3 reports
-
Redact private data in log entries and debug output.
Seen in 3 reports
-
Reimplement the REST access-control rules in the GraphQL layer for migrated objects.
Seen in 3 reports
-
Restrict public read access on cloud databases and credential files.
Seen in 3 reports
-
Return generic error pages for malformed requests and suppress server banners.
Seen in 3 reports
-
Use an encrypted channel or challenge-response instead of sending credentials in cleartext or Base64.
Seen in 3 reports
-
Validate the final target of a symbolic link or junction before opening a file in a privileged service.
Seen in 3 reports
-
Validate user-supplied data in virtual devices before reading.
Seen in 3 reports
-
Add access controls to document directories and exclude them from search engine indexing.
-
Add bounds checks when parsing DNS data.
-
Address the information disclosure with improved handling.
-
Aggregate per-face redefinition flags with AND rather than OR, or copy per face as the sibling path does.
Seen in 2 reports
-
Apply visibility settings in directory listings and API responses, not only in page display.
-
Block web access to the vendor directory.
Seen in 2 reports
-
Clear or restrict timing entries for subframe navigations involving redirects.
Seen in 2 reports
-
Correctly verify the origin of requests and responses so credentials are not disclosed to unauthorised parties.
-
Create persistence files with owner-only permissions regardless of the process umask.
-
Disable debug mode and return generic error pages in production.
-
Disable public listing on storage buckets and restrict access to stored objects.
-
Do not expose user identifiers as globals in scripts that any origin can load.
-
Do not return full user records before OTP verification, and apply authentication and rate limiting.
-
Enforce access control checks on the CSV download endpoint.
-
Exclude shared and sensitive pages from search engine indexing.
-
Fix the memory handling flaw in GDI+ that exposes pointer values.
-
Generate unique keys and certificates per installation instead of embedding them.
-
Improve data protection controls so apps cannot read location data or browsing history they should not access.
-
Initialise and clear memory objects before returning them.
-
Initialise memory before accessing it in multicast routing code.
-
Initialise memory buffers before reading from them.
-
Initialise memory buffers before returning or using their contents.
-
Limit invitation responses to the data the collaboration feature needs and check requester authorisation.
Seen in 2 reports
-
Normalise default CSS line-height and scrollbar width so they do not reveal the platform.
Seen in 2 reports
-
Only honour a LOCAL INFILE request after a user-issued LOAD DATA LOCAL INFILE statement, and disable local infile by default.
-
Propagate copy failures and only mark the destination as having content on success.
Seen in 2 reports
-
Properly handle sensitive information when following redirects to avoid exposure.
-
Properly initialise and restrict access to memory objects so user-mode processes cannot read kernel memory.
-
Redact sensitive personal and health information before publishing presentation files.
Seen in 2 reports
-
Remove public listing from storage containers and keep listing URLs out of client-side files.
-
Require authentication and rate limiting on tracking endpoints and avoid using predictable secrets such as ZIP codes.
Seen in 2 reports
-
Require authentication and restrict access to Actuator endpoints.
Seen in 2 reports
-
Reset the polygon mode to filled before the internal copy draw.
Seen in 2 reports
-
Respect user privacy settings when returning member data in leaderboards.
-
Restrict access to and initialise memory buffers in kernel drivers.
-
Restrict WebDAV and Event Viewer files and directories so external parties cannot reach them.
-
Return a generic confirmation message instead of the account's email address, and add rate limiting to the reactivation endpoint.
Seen in 2 reports
-
Return a generic message on CSRF validation failure instead of a raw error containing file paths.