Root privilege escalation via passwordless sudo chmod
Published Oct 11, 2021 · Updated Jul 9, 2026
Privilege escalation in rConfig Server 3.9.6 allows local users with Apache-account access to obtain root privileges through sudo chmod. The installed sudoers policy lets the Apache account run chmod as root without a password, allowing permissions on root-owned files to be changed. Exploitation requires control of the low-privileged Apache account; the published proof of concept makes /etc/passwd writable and appends a root account.
Summary
What happened
Privilege escalation in rConfig Server 3.9.6 allows local users with Apache-account access to obtain root privileges through sudo chmod. The installed sudoers policy lets the Apache account run chmod as root without a password, allowing permissions on root-owned files to be changed. Exploitation requires control of the low-privileged Apache account; the published proof of concept makes /etc/passwd writable and appends a root account.
The record
- CVE
- CVE-2021-29005
- Published
- Oct 11, 2021
- Updated
- Jul 9, 2026
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-276, T1548.003
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 11, 2021CVE publishedPublication date reported by the CVE source.
- Jul 9, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- CVE-2021-29005-POC.shproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo