Skip to content
Info disclosure Disclosed report Beginner

Duplicate Entry of email leads to 500 Server Error which disclosing the SQL Database table information

The admin dashboard allowed a merchant email to be soft-deleted without checking whether the same email could be re-registered, so re-registering it caused a server error. Because debug mode was left on in production, that error page disclosed internal SQL database table information.

basant0x01 Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 8 days
  • Fixed in 22 days
  • Disclosed after 52 days

Summary by the program

The Issue was with the process of Deletion of the merchant data from the admin Dashboard. The Admin has rights to delete the merchant email ID and further, it gets deleted as Soft delete, not the full delete but there was no Validation to the codes which can detect the re-registration of the same Email ID which leads to the Critical error.

Secondly, it was found that while pushing the codes in the production, The Debug was enabled and show the data only needed for internal use.

The original report as published on HackerOne, by basant0x01. 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 a missing uniqueness check on re-registration after a soft delete, combined with debug mode being enabled in production.

What the attacker needed

Admin access to the dashboard; ability to register a merchant account

How it was found

  1. As an admin, soft-delete a merchant's email address from the dashboard.
  2. Register again using the same email address.
  3. Observe the 500 server error page, which shows internal SQL database table information.

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.

A soft delete marks a record as removed but keeps it. The site never checked for an existing record when someone signed up again with the same email, so the app crashed. The crash page was in debug mode, which shows extra technical details.

What is Info disclosure?

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

More by basant0x01

View all

12 more disclosed reports, best first.

More from Kartpay

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.