XSS in Redmine base.rhtml (PATH_INFO)
A cross-site scripting (XSS) vulnerability exists in Redmine versions 1.0.1 through 1.1.1, specifically in the app/views/layouts/base.rhtml template. The vulnerability allows remote attackers to inject arbitrary web script or HTML by manipulating the PATH_INFO variable when accessing the projects/hg-helloworld/news/ endpoint.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows attackers to execute arbitrary JavaScript in the context of the victim's browser, potentially leading to session hijacking, credential theft, or other attacks leveraging the user's authenticated session.
If you can’t patch tonight, do this now.
As an interim measure, apply input validation and output encoding to all variables derived from PATH_INFO in the affected template. Restrict access to the vulnerable endpoint if possible until a patch can be applied.
Patch, then assume compromise.
Upgrade Redmine to a version later than 1.1.1 where this vulnerability has been patched. Ensure that all user-supplied input, including PATH_INFO, is properly sanitized and encoded before being rendered in HTML output.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.