System Error Reveals Sensitive SQL Call Data
Medium
Vulnerability Details
**Summary:**
If you attempt to login at https://███.mil/sso/LoginRequest.do using a very long username, the application will respond showing a stack trace information with sensitive SQL data call information. This reveals too much information about SQL calls to the database. Please see the attached PoC video.
**Description:**
Login at https://██████████.mil/sso/LoginRequest.do using a very long username and the application will respond showing a stack trace information with sensitive SQL data call information.
## Step-by-step Reproduction Instructions
(1) Go to https://██████.mil/sso/LoginRequest.do
(2) Enter in any username and password and Intercept the request with Burp Suite.
(3) Generate a long string of characters such as 100,000 characters and enter that into the "username" field and send the request.
(4) Observe the stack trace error and observe the following information below showing sensitive SQL data:
Internal Exception: java.sql.SQLException: ORA-01460: unimplemented or unreasonable conversion requested
Error Code: 1460
██████████
████████
█████████
## Suggested Mitigation/Remediation Actions:
Remove any mention of the SQL database calls in the stack trace error.
##References:
https://owasp.org/www-community/Improper_Error_Handling
## Impact
Attacker can use the error messages to gain further knowledge of the SQL system to launch future attacks.
Actions
View on HackerOneReport Stats
- Report ID: 1020472
- State: Closed
- Substate: resolved
- Upvotes: 3