CVE-2004-0157: xonix - Command Injection
- Cve: CVE-2004-0157
- Name: xonix - Command Injection
- Description: x11.c in xonix 1.4 and earlier uses the current working directory to find and execute the rmail program, which allows local users to execute arbitrary code by modifying the path to point to a malicious rmail program.
- Impact: Local users can execute arbitrary code with the privileges of the affected program, potentially leading to privilege escalation.
- Remediation: Update to the latest version of xonix where this issue is fixed or modify the code to avoid using the current working directory for executing rmail.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution, privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs local access to modify the rmail path
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.6
- Cvss vector: CVSS:2.0/AV:L/AC:L/Au:N/C:P/I:P/A:P
- Epss score: 0.00422
- Epss percentile: 0.37301
- Assignee: [email protected]
- Published at: 2004-06-01T04:00:00Z
- Age in days: 8211
- Modified at: 2026-06-16T22:05:03Z
- Patch available: yes
- References total: 7
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2004-0157
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-Other | — |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| xonix:xonix | <= 1.4 | no | nvd | /v1/products/xonix/xonix |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts