scanrub
Insufficient Logginglow prioritynot yet scanned

Insufficient Logging

2 min read 19 reports analyzed ScanRub Research
Share

Summary

The application doesn't record enough detail about security-relevant events - failed login attempts, privilege changes, access to sensitive records - to reconstruct what happened during an incident after the fact. This is a detection-and-response gap rather than an exploitable bug in itself: it doesn't let an attacker do anything they couldn't otherwise do, but it means a real attack, once it happens, is much harder to investigate, scope, and respond to.

◈ flow diagram
Security Eve…No Log Entry…Incident Lat…Investigatio…

Why This Requires More Than a Black-Box Scan

What gets logged and where those logs are stored is entirely internal to the application's backend - none of it is observable by sending requests and reading responses from outside.

Where This Is Actually Caught

Reviewing the application's actual logging configuration against a standard like the OWASP Logging Cheat Sheet, and checking whether security-relevant events (auth failures, permission changes, sensitive-data access) are captured with enough context to support incident response.

Tip: This gap is found by auditing what actually gets logged against what a real incident-response investigation would need — walk through a hypothetical compromise scenario and check whether the current logs could actually answer "what happened, when, and to what."

Real-World Impact

Real-World Impact

Insufficient logging doesn't cause a breach on its own, but it determines whether one gets noticed, understood, and contained once it happens. Without adequate logging of authentication events, access to sensitive resources, and administrative actions, an organization frequently only learns about a compromise from an external party, a customer, a researcher, law enforcement, and by then has no reliable record of what the attacker actually did, how long they had access, or what data they touched.

The practical cost shows up during incident response specifically: investigation takes substantially longer, scope determination becomes a matter of inference rather than evidence, and regulatory notification obligations (which often require specifying what data was affected) become difficult or impossible to satisfy with confidence.

This is also a compliance-relevant gap in its own right — most security and privacy frameworks (PCI DSS, SOC 2, HIPAA, and similar) explicitly require logging of security-relevant events, independent of whether an incident has ever occurred.

Prevention & Remediation

Prevention and Secure Design

Preventing Insufficient Logging takes a defense-in-depth approach — no single control below is sufficient alone, but together they close off both the primary path and the most common bypasses.

Log every security-relevant event, not just errors. Authentication attempts (success and failure), access to sensitive resources, administrative actions, and privilege changes should all generate a log entry as a baseline.

Include enough context to actually investigate later. A log entry needs the who, what, when, and from-where — a bare "action performed" entry without an actor, timestamp, and source is close to useless during an investigation.

Centralize logs somewhere an attacker who compromises the application can't also delete them. Ship logs to a separate, append-only or write-once system rather than only storing them on the same host that could be compromised.

Alert on the events that actually matter, not just collect them. Logging without monitoring still means the incident is only discovered after the fact — pair logging with alerting on the specific patterns that indicate active exploitation.

Retain logs long enough to matter. Many breaches aren't discovered for weeks or months — a retention window shorter than realistic detection timelines defeats the purpose of logging in the first place.

Frequently Asked Questions

What is Insufficient Logging?
The application doesn't record enough detail about security-relevant events - failed login attempts, privilege changes, access to sensitive records - to reconstruct what happened during an incident after the fact.
How common is Insufficient Logging in bug bounty reports?
Scanrub's research corpus for this playbook is built from 19 disclosed HackerOne reports in this category, synthesized for detection and prevention guidance rather than reproduced verbatim.
Can Insufficient Logging be found with an automated scanner?
Not reliably on its own — this class typically requires the kind of review described in "Where This Is Actually Caught" above (code-level review, fuzzing, red-teaming, or design review, depending on the specific mechanism), rather than an HTTP-level black-box scan.
What is the single most effective fix for Insufficient Logging?
Log every security-relevant event (auth attempts, sensitive-resource access, admin actions) with enough context to investigate later, shipped to a system an attacker who compromises the app can't also erase.
Weekly security research

New vulnerability playbooks, tool updates, and bug bounty insights - delivered to your inbox. No spam.

Unsubscribe anytime. We respect your inbox.
Press ⌘K to search×