CVE-2007-1743
NoneCVSS
—
EPSS
0.7%
Published
Apr 13, 2007
CISA due date
—
Cloudanix analysis
A long-standing issue in a web-server helper tool could let someone already on the system create files belonging to any user when the setup is configured insecurely.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Privilege Gain
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
suexec fails to validate supplied user/group ID combinations on the command line, enabling a local process to create files owned by arbitrary UIDs/GIDs when /proc is mounted.
Why it matters to the business
Organizations running the affected container images face low but non-zero risk of local file ownership manipulation that could aid further privilege escalation or persistence; the packages have seen minimal exploit interest over 19 years and carry no ransomware or KEV associations.
How an attack unfolds
An attacker with local access on a system where /proc is mounted and the document root is writable first triggers a separate vulnerability to invoke suexec with crafted UID/GID arguments, resulting in arbitrary file creation; the issue is disputed by the vendor as dependent on insecure configuration and other flaws.
How to fix it
Upgrade istio-cni-1.19 (Chainguard) and istio-cni-1.19 (Wolfi) to version 1.19.5-r2 or later; verify suexec configuration enforces strict UID/GID validation and consider unmounting /proc where feasible.
How to confirm the fix worked
Confirm package versions match or exceed the fixed releases, review suexec source or binary for UID/GID argument validation, and test that only expected user/group combinations succeed.
Typical attack path
- Obtain local shell or code execution on the target host
- Confirm /proc is mounted and document root is writable
- Leverage a second vulnerability to call suexec with chosen UID/GID values
- Create files owned by arbitrary users to further escalate privileges or persist
How to detect it
Search system logs and process execution records for unexpected suexec invocations with non-standard UID/GID arguments; examine file-creation events that result in ownership by unexpected users.
What your security team should do
- Immediately update the listed istio-cni packages to the stated fixed versions
- Audit container images for unnecessary suexec usage or writable document roots
- Monitor EPSS and KEV feeds for any future rise in exploitation interest
The record
suexec in Apache HTTP Server (httpd) 2.2.3 does not verify combinations of user and group IDs on the command line, which might allow local users to leverage other vulnerabilities to create arbitrary UID/GID owned files if /proc is mounted. NOTE: the researcher, who is reliable, claims that the vendor disputes the issue because "the attacks described rely on an insecure server configuration" in which the user "has write access to the document root." In addition, because this is dependent on other vulnerabilities, perhaps this is resultant and should not be included in CVE.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | apache2 | 0 | No fix |
| Debian:11 | apache2 | 0 | No fix |
| Debian:12 | apache2 | 0 | No fix |
| Debian:13 | apache2 | 0 | No fix |
Related vulnerabilities
- CVE-2015-0228 The lua_websocket_read function in lua_request.c in the mod_lua module in the Apache HTTP… Also affects apache2
- CVE-2014-3583 The handle_headers function in mod_proxy_fcgi.c in the mod_proxy_fcgi module in the… Also affects apache2
- CVE-2013-4352 The cache_invalidate function in modules/cache/cache_storage.c in the mod_cache module in… Also affects apache2
- CVE-2013-5704 The mod_headers module in the Apache HTTP Server 2.2.22 allows remote attackers to bypass… Also affects apache2
- CVE-2013-1896 mod_dav.c in the Apache HTTP Server before 2.2.25 does not properly determine whether DAV… Also affects apache2
- CVE-2013-1862 mod_rewrite.c in the mod_rewrite module in the Apache HTTP Server 2.2.x before 2.2.25… Also affects apache2
- CVE-2012-3499 Multiple cross-site scripting (XSS) vulnerabilities in the Apache HTTP Server 2.2.x… Also affects apache2
- CVE-2012-4558 Multiple cross-site scripting (XSS) vulnerabilities in the balancer_handler function in… Also affects apache2