CVE-2007-1926 Cross-site scripting in n/a
Remote authenticated users can inject arbitrary web script or HTML into DirectAdmin log viewers, potentially leading to session hijacking or malicious code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2007-1926?
CVE-2007-1926 is a medium-severity cross-site scripting vulnerability in n/a, published on 10 Apr 2007. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in JBMC Software DirectAdmin before 1.293 does not properly display log files, which allows remote authenticated users to inject arbitrary web script or HTML via (1) http or (2) ftp requests logged in /var/log/directadmin/security.log; (3) allows context-dependent attackers to inject arbitrary web script or HTML into /var/log/messages via a PHP script that invokes /usr/bin/logger; (4) allows local users to inject arbitrary web script or HTML into /var/log/messages by invoking /usr/bin/logger at the command line; and allows remote attackers to inject arbitrary web script or HTML via remote requests logged in the (5) /var/log/exim/rejectlog, (6) /var/log/exim/mainlog, (7) /var/log/proftpd/auth.log, (8) /var/log/httpd/error_log, (9) /var/log/httpd/access_log, (10) /var/log/directadmin/error.log, and (11) /var/log/directadmin/security.log files.
Weakness: CWE-79
Which versions are affected by CVE-2007-1926?
It affects 1 product.
Products include Directadmin Directadmin.
How do I fix CVE-2007-1926?
No fix has been published for CVE-2007-1926 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-2007-1926 being exploited?
There is no known exploitation of CVE-2007-1926 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-4g5h-x2gw-q6h2.