{"schemaVersion":3,"id":"CVE-2016-4861","aliases":["MGASA-2016-0352","UBUNTU-CVE-2016-4861","DLA-1403-1","DLA-646-1"],"status":"published","duplicateOf":null,"title":null,"description":"The (1) order and (2) group methods in Zend_Db_Select in the Zend Framework before 1.12.20 might allow remote attackers to conduct SQL injection attacks by leveraging failure to remove comments from an SQL statement before validation.","dates":{"published":"2017-02-16T18:00:00.000Z","modified":"2024-08-06T00:46:38.449Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.04124,"percentile":0.90749,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.5229999999999999,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.03601},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03601,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.04124,"percentile":0.90749}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.03601,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.04124,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.04124,"percentile":0.90749}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_D6257FDA2D2A0BCF","name":"Exploit Reference (framework.zend.com)","source":"reference","url":"https://framework.zend.com/security/advisory/ZF2016-03","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"debian","product":"zendframework","name":"zendframework","label":"zendframework","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/zendframework","purlType":"deb","versions":[{"text":"< 1.12.9+dfsg-2+deb8u7","noFixRecorded":false,"fixedIn":null},{"text":"< 1.11.13-1.1+deb7u5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.9+dfsg-2+deb8u7 | < 1.11.13-1.1+deb7u5","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"zend-framework","name":"zend-framework","label":"zend-framework","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/zend-framework","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"23","noFixRecorded":false,"fixedIn":null},{"text":"24","noFixRecorded":false,"fixedIn":null},{"text":"25","noFixRecorded":false,"fixedIn":null}],"versionsText":"23 | 24 | 25","eol":{"isEol":true,"eolDate":"2016-12-20T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"23","label":"23","eolFrom":"2016-12-20T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"mageia","product":"php-ZendFramework","name":"php-ZendFramework","label":"php-ZendFramework","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/php-ZendFramework","purlType":"rpm","versions":[{"text":"< 1.12.20-1.mga5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.12.20-1.mga5","eol":null,"hubHref":null},{"vendor":"zend","product":"zend_framework","name":"zend framework","label":"zend_framework","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.12.19","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.12.19","eol":null,"hubHref":"/vendor/zend/zend_framework"}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UR5HXNGIUSSIZKMSZYMPBEPZEZTYFTIT/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://security.gentoo.org/glsa/201804-10","label":"security.gentoo.org/glsa/201804-10","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2JUKFTI6ABK7ZN7IEAGPCLAHCFANMID2/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N27AV6AL6B4KGEP3VIMIHQ5LFAKF5FTU/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/06/msg00012.html","label":"lists.debian.org/debian-lts-announce/2018/06/msg00012.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://framework.zend.com/security/advisory/ZF2016-03","label":"framework.zend.com/security/advisory/ZF2016-03","hostname":"framework.zend.com","tags":["X Refsource CONFIRM","Exploit","Technical Description","Vendor Advisory","Advisory"]},{"url":"http://jvndb.jvn.jp/jvndb/JVNDB-2016-000158","label":"jvndb.jvn.jp/jvndb/JVNDB-2016-000158","hostname":"jvndb.jvn.jp","tags":["Third Party Advisory","X Refsource JVNDB","VDB Entry"]},{"url":"http://jvn.jp/en/jp/JVN18926672/index.html","label":"jvn.jp/en/jp/JVN18926672/index.html","hostname":"jvn.jp","tags":["Third Party Advisory","X Refsource JVN","VDB Entry"]},{"url":"https://advisories.mageia.org/MGASA-2016-0352.html","label":"advisories.mageia.org/MGASA-2016-0352.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=19548","label":"bugs.mageia.org/show_bug.cgi?id=19548","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://framework.zend.com/blog/2016-09-08-ZF-1.12.20-Released.html","label":"framework.zend.com/blog/2016-09-08-ZF-1.12.20-Released.html","hostname":"framework.zend.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2016-4861","label":"ubuntu.com/security/CVE-2016-4861","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://framework.zend.com/security/advisory/ZF2016-03","label":"framework.zend.com/security/advisory/ZF2016-03","hostname":"framework.zend.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-4861","label":"www.cve.org/CVERecord?id=CVE-2016-4861","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-02-16T18:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T00:46:38.449Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T11:49:37.671Z","stale":false,"partial":false}}