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.
-
Remove phpinfo debug pages from public hosts.
Seen in 1 report
-
Remove PHPInfo pages, server documentation and database dumps from the web root.
-
Remove public read access from data buckets.
-
Remove public read access from S3 buckets and do not store sensitive archives in them.
Seen in 1 report
-
Remove sensitive configuration files from publicly reachable directories and apply access controls.
Seen in 1 report
-
Remove sensitive internal details from validation error messages returned to clients.
Seen in 1 report
-
Remove the default CGI script and disable the CGI directory.
Seen in 1 report
-
Remove the full product name and version from the Server response header.
Seen in 1 report
-
Remove the sensitive data from the reachable location.
-
Remove the software version from the server response header.
Seen in 1 report
-
Remove unnecessary internet-facing services and require authentication for RDP.
Seen in 1 report
-
Remove unnecessary technology and version details from HTTP response headers.
Seen in 1 report
-
Render autofill preview text in a way that does not allow font-based side-channel measurement, and limit the number of matching options.
Seen in 1 report
-
Render broken images identically regardless of whether a protocol handler exists.
Seen in 1 report
-
Replace plain SharedPreferences with EncryptedSharedPreferences and verify the values are no longer readable on disk.
Seen in 1 report
-
Request the robust access attribute when creating native contexts, or do not advertise support based only on the driver extension string.
Seen in 1 report
-
Require authentication and add rate limiting to endpoints returning user data.
-
Require authentication before returning the administrator salt from the getSalt method.
Seen in 1 report
-
Require authentication for the find command on the multi-camera service.
-
Require authentication on sensitive endpoints and remove hardcoded secrets from source and configuration.
Seen in 1 report
-
Require authentication on the Docker registry and keep secrets out of images.
Seen in 1 report
-
Require authentication on the upload endpoint and validate or restrict the file types inside extracted ZIP archives.
-
Require authentication or network restrictions on internal calendar and status pages.
Seen in 1 report
-
Reset caller-controlled pixel-store unpack parameters before the internal upload.
Seen in 1 report
-
Reset the unpack row length and image height in the fast path, or include them in the default-rectangle check.
Seen in 1 report
-
Reset URL variables based on the actual URL rather than the masked display value.
Seen in 1 report
-
Resolve hostnames before validation and block any that resolve to loopback or internal addresses.
Seen in 1 report
-
Respect the account's privacy setting and exclude private accounts from search results.
Seen in 1 report
-
Restore the blank-skipping step so a leading horizontal tab does not stop attribute parsing.
-
Restrict access to help pages and disable unnecessary features that reveal internal information.
Seen in 1 report
-
Restrict access to memory address information from JavaScript methods.
Seen in 1 report
-
Restrict access to sensitive data in memory in AD-integrated DNS.
Seen in 1 report
-
Restrict actuator endpoints to internal networks or authenticated users.
Seen in 1 report
-
Restrict and sanitise characters in the company name field before inserting it into email templates.
Seen in 1 report
-
Restrict credential file permissions to the service account only.
Seen in 1 report
-
Restrict custom scripts from opening local file URLs and accessing their contents.
Seen in 1 report
-
Restrict Date.now() in background tabs or reduce its precision to prevent time-change correlation.
Seen in 1 report
-
Restrict hard link targets in archives to local paths.
Seen in 1 report
-
Restrict internal issue trackers to the internal network.
Seen in 1 report
-
Restrict or disable the public users endpoint.
Seen in 1 report
-
Restrict shared files to signed-in internal users instead of link-based access without authentication.
-
Restrict the logout handler to the intended HTTP method and disable debug mode in production.
Seen in 1 report
-
Restrict the secret names the resolver may read from environment variables.
Seen in 1 report
-
Restrict the share activity to intended shared content and block paths into the app's private data directory.
-
Restrict topic subscriptions to the driver's current area and withhold passenger phone numbers until ride acceptance.
-
Restrict typeahead lookups to an intended directory and reject absolute root paths.
Seen in 1 report
-
Restrict what an authenticated user can retrieve to their intended scope.
-
Restrict which files and file information the Windows Modules Installer Service discloses to local callers.
Seen in 1 report
-
Restrict which values can be substituted into administrator-controlled URLs used for outbound requests.
Seen in 1 report
-
Return a generic error message instead of the raw database exception.
Seen in 1 report