Skip to content
XSS Disclosed report Beginner CVE-2023-24488

CVE-2023-24488 xss on https://██████/

A reflected cross-site scripting flaw existed in the logout endpoint's post_logout_redirect_uri parameter, which did not sanitise injected carriage-return and line-feed characters followed by a script tag. An attacker could craft a link that runs malicious JavaScript in a victim's browser, potentially stealing cookies.

0xmaruf Follow

Originally disclosed on HackerOne

  • Triaged in 2 days
  • Fixed in 26 days
  • Disclosed after 2 months

Description:

References

Impact

malicios js inejction , cookie stealing

System Host(s)

█████████

Affected Product(s) and Version(s)

CVE Numbers

CVE-2023-24488

Steps to Reproduce

  1. https://█████/oauth/idp/logout?post_logout_redirect_uri=%0d%0a%0d%0a<script>alert(document.domain)</script>

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by 0xmaruf. 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

What the attacker needed

Victim clicks a crafted link

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.

Cross-site scripting (XSS) is when a website takes input from a link and puts it into the page without cleaning it, so an attacker can make the page run their own JavaScript. Here the logout link's redirect parameter accepted a script tag, so opening a crafted link could run code in the victim's browser and read their cookies.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by 0xmaruf

View all

1 more disclosed report, 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 scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.