CVE-2018-20885 Code injection in n/a
Attackers can inject malicious Apache configuration via DocumentRoot variable interpolation in cPanel, potentially leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-20885?
CVE-2018-20885 is a medium-severity code injection vulnerability in Cpanel Cpanel, published on 1 Aug 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
cPanel before 74.0.0 allows Apache HTTP Server configuration injection because of DocumentRoot variable interpolation (SEC-416).
Weakness: CWE-74
Which versions are affected by CVE-2018-20885?
It affects 1 product.
Products include Cpanel Cpanel.
How do I fix CVE-2018-20885?
No fix has been published for CVE-2018-20885 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2018-20885 being exploited?
There is no known exploitation of CVE-2018-20885 in the wild and no public exploit code.
Other vulnerabilities in Cpanel Cpanel
- CVE-2026-41940 WebPros cPanel & WHM and WP2 (WordPress Squared) Missing Authentication for Critical Function
- CVE-2003-1425 guestbook.cgi in cPanel 5.0 allows remote attackers to execute arbitrary commands via the template parameter.
- CVE-2004-1769 Code injection in n/a
- CVE-2004-1770 Command injection in n/a
- CVE-2020-26098 Command injection in n/a
Sources
Also known as GHSA-8hcp-gqh3-6c9c.