Cross-site Scripting (XSS) - Reflected in neorazorx/facturascripts

Valid

Reported on

Apr 27th 2022


Description

Reflected cross-site scripting (or XSS) arises when an application receives data in an HTTP request and includes that data within the immediate response in an unsafe way.

Proof of Concept

Turn on debugger mode.

Add path /?<ScRiPt>alert(origin)<%2FScRiPt> to any endpoint -> script will be reflected, executed and an alert box will show up.

Attackers can add any HTML element, the response will reflected, excuted your code.

Image

image

Impact

  • If an attacker can control a script that is executed in the victim's browser, then they can typically fully compromise that user. Amongst other things, the attacker can:
  1. +Perform any action within the application that the user can perform.

  2. +View any information that the user is able to view.

  3. +Modify any information that the user is able to modify.

    • Initiate interactions with other application users, including malicious attacks, that will appear to originate from the initial victim user.
  • There are various means by which an attacker might induce a victim user to make a request that they control, to deliver a reflected XSS attack. These include placing links on a website controlled by the attacker, or on another website that allows content to be generated, or by sending a link in an email, tweet or other message
We are processing your report and will contact the neorazorx/facturascripts team within 24 hours. a month ago
dungtuanha modified the report
a month ago
dungtuanha modified the report
a month ago
dungtuanha modified the report
a month ago
dungtuanha modified the report
a month ago
We have contacted a member of the neorazorx/facturascripts team and are waiting to hear back a month ago
Carlos Garcia validated this vulnerability a month ago
dungtuanha has been awarded the disclosure bounty
The fix bounty is now up for grabs
The researcher's credibility has increased: +7
Carlos Garcia confirmed that a fix has been merged on 298eb4 a month ago
The fix bounty has been dropped
DebugBar.php#L257-L267 has been validated
to join this conversation