CVE-2018-1999022: civicrm Code Injection
Vulnerability summary
CVE-2018-1999022 is a critical (CVSS 9.8) Code Injection vulnerability in civicrm. EPSS estimates a 2.21% chance of exploitation in the next 30 days, higher than 82.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Duplicates 1Timeline
- 23-07-2018PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
Description
PEAR HTML_QuickForm version 3.2.14 contains an eval injection (CWE-95) vulnerability in HTML_QuickForm's getSubmitValue method, HTML_QuickForm's validate method, HTML_QuickForm_hierselect's _setOptions method, HTML_QuickForm_element's _findValue method, HTML_QuickForm_element's _prepareValue method. that can result in Possible information disclosure, possible impact on data integrity and execution of arbitrary code. This attack appear to be exploitable via A specially crafted query string could be utilised, e.g. http://www.example.com/admin/add_practice_type_id[1]=fubar%27])%20OR%20die(%27OOK!%27);%20//&mode=live. This vulnerability appears to have been fixed in 3.2.15.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.21%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
+0.26 pp
From 1.95% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Civicrm1 product
- civicrm≤ 4.6.37 | 5.3.0
Debian1 product
- civicrm< 5.3.1+dfsg-1
Html_quickform_project1 product
- html_quickform3.2.14
Mageia1 product
- php-pear-HTML_QuickForm< 3.2.15-4.mga6
Ubuntu1 product
- civicrmAll versions (No fix recorded)
5 vendors · 5 products
References
7 links- civicrm.org/advisory/civi-sa-2018-07-remote-code-execution-in-quickformX Refsource CONFIRMThird Party AdvisoryREPORT
- blog.pear.php.net/2018/07/19/security-vulnerability-announcement-html_quickform/X Refsource CONFIRMVendor AdvisoryREPORT