{"id":"UBUNTU-CVE-2018-1999022","details":"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.","modified":"2026-05-08T12:18:36.993184Z","published":"2018-07-23T16:29:00Z","upstream":["CVE-2018-1999022"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-1999022"},{"type":"REPORT","url":"http://blog.pear.php.net/2018/07/19/security-vulnerability-announcement-html_quickform/"},{"type":"REPORT","url":"https://civicrm.org/advisory/civi-sa-2018-07-remote-code-execution-in-quickform"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-1999022"}],"affected":[{"package":{"name":"civicrm","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/civicrm@4.7.1+dfsg-2ubuntu1+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.7.1+dfsg-1","4.7.1+dfsg-2","4.7.1+dfsg-2ubuntu1","4.7.1+dfsg-2ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"civicrm-common","binary_version":"4.7.1+dfsg-2ubuntu1+esm1"},{"binary_name":"civicrm-l10n","binary_version":"4.7.1+dfsg-2ubuntu1+esm1"},{"binary_name":"drupal7-mod-civicrm","binary_version":"4.7.1+dfsg-2ubuntu1+esm1"},{"binary_name":"wordpress-civicrm","binary_version":"4.7.1+dfsg-2ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1999022.json"}},{"package":{"name":"civicrm","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/civicrm@4.7.30+dfsg-1ubuntu1+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.7.23+dfsg-1ubuntu1","4.7.24+dfsg-1ubuntu1","4.7.30+dfsg-1ubuntu1","4.7.30+dfsg-1ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.7.30+dfsg-1ubuntu1+esm1","binary_name":"civicrm-common"},{"binary_name":"civicrm-l10n","binary_version":"4.7.30+dfsg-1ubuntu1+esm1"},{"binary_name":"wordpress-civicrm","binary_version":"4.7.30+dfsg-1ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1999022.json"}},{"package":{"name":"civicrm","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/civicrm@5.21.2+dfsg-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.11.0+dfsg-1","5.18.1+dfsg-1","5.20.3+dfsg-1","5.21.0+dfsg-1","5.21.1+dfsg-1","5.21.2+dfsg-1","5.21.2+dfsg-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"civicrm-common","binary_version":"5.21.2+dfsg-1ubuntu0.1~esm1"},{"binary_version":"5.21.2+dfsg-1ubuntu0.1~esm1","binary_name":"civicrm-l10n"},{"binary_name":"wordpress-civicrm","binary_version":"5.21.2+dfsg-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1999022.json"}},{"package":{"name":"civicrm","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/civicrm@5.33.2+dfsg1-1ubuntu1+esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.33.2+dfsg1-1","5.33.2+dfsg1-1build1","5.33.2+dfsg1-1ubuntu1","5.33.2+dfsg1-1ubuntu1+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.33.2+dfsg1-1ubuntu1+esm1","binary_name":"civicrm-common"},{"binary_name":"civicrm-l10n","binary_version":"5.33.2+dfsg1-1ubuntu1+esm1"},{"binary_name":"wordpress-civicrm","binary_version":"5.33.2+dfsg1-1ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-1999022.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}