Skip to content
Info disclosure Disclosed report Beginner

internal path disclosure via register error

Sending many registration requests in quick succession caused the server to return an error that exposed an internal file path, a stack trace and part of a SQL update statement. An attacker could use this information to learn about the backend technology and database structure.

mohs3n Follow

Originally disclosed on HackerOne

  • Disclosed after 44 days

Summary:

Hi team, when we call too many register query, we get error, in this error we can see internal path and sql query structure

Steps To Reproduce:

  1. go to register form https://valleyconnect.tva.gov/registration
  2. complete form and click on submit registration, then intercept request with burp
  3. use intruder for call multiple request, we should replace email in every request.
POST /registration HTTP/2
Host: valleyconnect.tva.gov

UserName=admin&Password=jgn%25%5EThgf%23rfvHRESdy56tef&ConfirmPassword=jgn%25%5EThgf%23rfvHRESdy56tef&EmailAddress=Z%40jetamooz.com&EmailAddressVerify=Z%40jetamooz.com&FirstName=alex&LastName=jane&Initials=&Suffix=&JobTitle=it&OrganizationType=Business+Partner&OrganizationName=sarv&Country=792&StreetAddress=sary&City=katy&Province=titi&State=AL&ZipCode=&PhoneNumber=%28934%29+734-4364&MobilePhoneNumber=%28957%29+363-4655&TimeZone=America%2FLos_Angeles&CapAnswer=U4YIQ&CapKey=XXTxVOUWZrCz6buVtsgF2cFaPHLSCKVSRQc4z4My13Bee8JiTYVZXmiPd8zLSbMc&BeCheck=

response :

 Failed to request registration. Please try again or contact support. Error: Telerik.OpenAccess.Exceptions.OptimisticVerificationException: Row not found: GenericOID@b5128f1e RegistrationRequest base_id=1f499ef7-83fa-4a77-8fd9-693b52c4db9b
UPDATE [sf_dynamic_content] SET [last_modified] = @p0, [voa_version] = @p1 WHERE [base_id] = @p2 AND [voa_version] = @p3
Batch Entry 0 (set event logging to all to see parameter data)
   at Telerik.Sitefinity.Data.TransactionManager.CommitTransaction(String transactionName)
   at DataAccessLayer.Classes.RegistrationRequestService.AddRegistrationRequest(RegistrationRequestEntry model) in D:\Agent\_work\1825\s\Code\DataAccessLayer\Classes\RegistrationRequestService.cs:line 193

Tips:

we should insert fast and continuous for geting error

Supporting Material/References:

Screenshot_from_2023-10-17_20-40-24.png
Screenshot_from_2023-10-17_20-40-24.png From the original on HackerOne
Screenshot_from_2023-10-17_20-40-27.png
Screenshot_from_2023-10-17_20-40-27.png

Impact

Impact

The original report as published on HackerOne, by mohs3n. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Root cause

Likely the application returns raw exception details, including stack traces and SQL fragments, to the client instead of a generic error message.

What the attacker needed

Access to the public registration form; ability to send many requests quickly

The fix

The application should catch exceptions and return a generic error message, logging the technical details server-side only.

How it was found

  1. Open the registration form page.
  2. Fill in the form, submit it and intercept the request in a proxy.
  3. Send many requests with the intruder, changing the email address each time.
  4. Observe the error response containing the internal path and SQL statement.

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 website fails, it sometimes shows a detailed error message. Here that message included the server's internal file location and a piece of the database command, which helps an attacker plan further attacks. The bug is that these technical details are shown to users instead of being hidden.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by mohs3n

View all

4 more disclosed reports, best first.

More from Tennessee Valley Authority

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.