Skip to content
CSRF Disclosed report Beginner

Administration Authentication Bypass on https://█████

A cross-site request forgery flaw let an attacker submit a crafted form to an administration endpoint, after which refreshing the page granted access to the admin area. The attacker could then view sensitive data and modify information.

fiveguyslover Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 3 days
  • Fixed in 10 days
  • Disclosed after 18 days

Hi there I found a way to connect to an administration space on your website https://██████████

#how to reproduce ?

    • go to this link : https://███/██████████
    • create a html file with :
HTML
<form action="https://████████/██████████" method="post">
    <input type="hidden" name="█████" value="">
    <input type="hidden" name="█████" value="1">
    <input type="submit">
</form>
    • launch the file, click on the button and return to the page https://███████/█████
    • refresh the page and you have access to the administration

POC :

██████████

if you need more information, contact me

best regards, fiveguyslover

Impact

access to sensitive data and the ability to modify information.

System Host(s)

█████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

    • go to this link : https://█████/███████
    • create a html file with :
HTML
<form action="https://█████/███" method="post">
    <input type="hidden" name="███" value="">
    <input type="hidden" name="████" value="1">
    <input type="submit">
</form>
    • launch the file, click on the button and return to the page https://██████/█████
    • refresh the page and you have access to the administration

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by fiveguyslover. 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 administration endpoint accepted state-changing POST requests without a CSRF token or origin check, so a form from another page could authenticate the session.

Impact

An attacker could access sensitive data and modify information in the administration area.

What the attacker needed

Victim visits attacker-controlled HTML; victim clicks the submit button

How it was found

  1. Open the provided administration link.
  2. Create a local HTML file containing a form that posts hidden fields to the administration endpoint.
  3. Open the file, click the submit button, then return to the administration page.
  4. Refresh the page to gain access to the administration area.

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 website can be tricked into accepting a form submission from another site because it does not check that the request came from its own pages. This is called cross-site request forgery. Here, submitting a hidden form from a local file was enough to log the victim into the administration area.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More by fiveguyslover

View all

9 more disclosed reports, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.