Critical PII Data Exposure in ORDER_ERROR_LOG
The application's error logging system writes full SQL INSERT statements containing customer PII into a log file. Anyone able to access the log file could read complete customer records including names, emails, phone numbers, and addresses.
- Triaged in 3 hours
- Fixed in 56 days
- Disclosed after 6 months
A critical security vulnerability has been identified in the application's error logging system where the ORDER_ERROR_LOG file contains complete database insertion statements that expose Personally Identifiable Information (PII) of customers in plain text format.
Root Cause
The application's error handling mechanism is logging full SQL INSERT statements when database operations fail. These statements contain complete customer records including sensitive personal information that should never be stored in log files.
What Data is ExposedThe logs contain complete customer records including: Full names Email addresses Phone numbers Home addresses Customer IDs Transaction amounts ....
simple of data
INSERT INTO dli.dli_customer_data VALUES (
dli_customer_data_sequence.NEXTVAL,
SYSDATE,
████████,
███,
██████████,
████,
██████,
██████,
█████████,
█████████,
███████,
█████,
███,
█████,
███,
████████,
████,
██████████,
'Surface',
'14.00',
'15.4',
'17.5')
███████ ████
Impact
Unintended Data Persistence: Customer PII persists in log files beyond intended retention periods Expanded Attack Surface: Log files become high-value targets containing concentrated PII Compliance Violations: Direct violation of data minimization principles required by privacy regulations Audit Trail Contamination: Security logs contain sensitive data that complicates forensic analysis
System Host(s)
dlielc.edu
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
- Access the ORDER_ERROR_LOG file ███████
- Review the contents for database INSERT statements.
INSERT INTO dli.dli_customer_data VALUES ( - Observe exposed customer data
INSERT INTO dli.dli_customer_data VALUES (
dli_customer_data_sequence.NEXTVAL,
SYSDATE,
█████████,
██████,
███████,
'FPO',
'AP',
██████████,
████████,
███,
██████████,
'FPO',
'AP',
███████,
████████,
█████,
██████,
██████,
'Air',
'480.00',
████████,
'600')
Suggested Mitigation/Remediation Actions
Implement data sanitization in error logging to prevent PII exposure.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
Customer PII persists in log files beyond intended retention periods, and the logs become high-value targets containing concentrated PII, which could lead to privacy breaches and compliance violations.
What the attacker needed
Access to the ORDER_ERROR_LOG file
The fix
Implement data sanitisation in error logging to prevent PII exposure.
How it was found
- Access the ORDER_ERROR_LOG file.
- Review the contents for database INSERT statements.
- Observe exposed customer data.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When a database operation fails, the application writes the failed SQL command into a log file. That SQL command includes the actual customer data being inserted, so the log file ends up storing personal details like names and addresses in plain text. If someone can read that log file, they can see all that private information.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.