CVE-2024-25976 Reflected Cross-Site-Scripting (XSS)
Attackers can execute arbitrary JavaScript in victims' browsers via reflected XSS in login.php when LDAP authentication is enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-25976?
CVE-2024-25976 is a medium-severity cross-site scripting vulnerability in Interaction Design Team at the University of Applied Sciences and Arts in Hildesheim/Germany HAWKI, published on 29 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
When LDAP authentication is activated in the configuration it is possible to obtain reflected XSS execution by creating a custom URL that the victim only needs to open in order to execute arbitrary JavaScript code in the victim's browser. This is due to a fault in the file login.php where the content of "$_SERVER['PHP_SELF']" is reflected into the HTML of the website. Hence the attacker does not need a valid account in order to exploit this issue.
Weakness: CWE-79
Which versions are affected by CVE-2024-25976?
How do I fix CVE-2024-25976?
No fix has been published for CVE-2024-25976 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-25976 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-25976 exists.