CVE-2020-26935
published 2020-10-10CVE-2020-26935: An issue was discovered in SearchController in phpMyAdmin before 4.9.6 and 5.x before 5.0.3. A SQL injection vulnerability was discovered in how phpMyAdmin…
PriorityP276critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
67.08%
99.2th percentile
An issue was discovered in SearchController in phpMyAdmin before 4.9.6 and 5.x before 5.0.3. A SQL injection vulnerability was discovered in how phpMyAdmin processes SQL statements in the search feature. An attacker could use this flaw to inject malicious SQL in to a query.
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | phpmyadmin | < phpmyadmin 4:4.9.7+dfsg1-1 (bookworm) | phpmyadmin 4:4.9.7+dfsg1-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| opensuse | backports_sle | — | — |
| opensuse | leap | — | — |
| opensuse | leap | — | — |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.9.7+dfsg1-1 | 4:4.9.7+dfsg1-1 |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.9.7+dfsg1-1 | 4:4.9.7+dfsg1-1 |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.9.7+dfsg1-1 | 4:4.9.7+dfsg1-1 |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.9.7+dfsg1-1 | 4:4.9.7+dfsg1-1 |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.6.6-5ubuntu0.5 | 4:4.6.6-5ubuntu0.5 |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.0.10-1ubuntu0.1+esm4 | 4:4.0.10-1ubuntu0.1+esm4 |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.5.4.1-2ubuntu2.1+esm6 | 4:4.5.4.1-2ubuntu2.1+esm6 |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.6.6-5ubuntu0.5+esm1 | 4:4.6.6-5ubuntu0.5+esm1 |
| phpmyadmin | phpmyadmin | >= 0 < 4:4.9.5+dfsg1-2ubuntu0.1~esm1 | 4:4.9.5+dfsg1-2ubuntu0.1~esm1 |
| phpmyadmin | phpmyadmin | >= 4.9.0 < 4.9.6 | 4.9.6 |
| phpmyadmin | phpmyadmin | >= 4.9.0 < 4.9.6 | 4.9.6 |
| phpmyadmin | phpmyadmin | >= 5.0.0 < 5.0.3 | 5.0.3 |
| phpmyadmin | phpmyadmin | >= 5.0.0 < 5.0.3 | 5.0.3 |
Detection & IOCsextracted from sources · hover to see the quote
- →Exploit targets the `where_clause` parameter in POST requests to `/tbl_zoom_select.php` with UNION-based SQL injection payload; monitor for UNION SELECT patterns in this endpoint's POST body. ↗
- →Successful exploitation returns a JSON response containing both `"success":true` and `"row_info"` fields; alert on these in responses from `/tbl_zoom_select.php`. ↗
- →The vulnerability resides in SearchController; the attack vector is the search feature of phpMyAdmin. Monitor POST requests to `tbl_zoom_select.php` with `ajax_request=true` and `get_data_row=true` parameters for anomalous `where_clause` values. ↗
- →Shodan/FOFA fingerprinting for exposed phpMyAdmin instances can be used to identify attack surface: Shodan query `http.title:"phpMyAdmin"`, FOFA query `app="phpMyAdmin"`. ↗
- ·Exploitation requires valid phpMyAdmin credentials (authenticated attack); the Nuclei template uses `{{username}}` and `{{password}}` variables, meaning unauthenticated exploitation is not demonstrated by this PoC. ↗
- ·The PoC hardcodes `db=testdb&table=users` in the payload; real-world exploitation requires knowledge of (or brute-forcing) a valid database and table name on the target instance. ↗
- ·A valid CSRF token (`token2`) extracted from the authenticated session is required for the injection request to succeed; replay of captured requests without a fresh token will fail. ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_ubuntu6.5MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
phpMyAdmin vulnerabilities
vendor_ubuntu·2021-03-16·CVSS 5.0
CVE-2019-12922 [MEDIUM] phpMyAdmin vulnerabilities
Title: phpMyAdmin vulnerabilities
Summary: Several security issues were fixed in phpMyAdmin.
Javier Nieto and Andres Rojas discovered that phpMyAdmin incorrectly
managed input in the form of passwords. An attacker could use this
vulnerability to cause a denial-of-service (DoS). This issue only
affected Ubuntu 14.04 ESM. (CVE-2014-9218)
Emanuel Bronshtein discovered that phpMyAdmin failed to properly sanitize
input in the form of database names in the PHP Array export feature.
An authenticated attacker could use this vulnerability to run arbitrary
PHP commands. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.
(CVE-2016-6609)
Emanuel Bronshtein discovered that phpMyAdmin failed to properly sanitize
input. An attacker could use this vulnerability to execute SQL injection
at
Ubuntu
phpMyAdmin vulnerabilities
vendor_ubuntu·2020-11-19·CVSS 6.5
CVE-2020-5504 [MEDIUM] phpMyAdmin vulnerabilities
Title: phpMyAdmin vulnerabilities
Summary: Several security issues were fixed in phpMyAdmin.
It was discovered that there was a bug in the way phpMyAdmin handles the
phpMyAdmin Configuration Storage tables. An authenticated attacker could
use this vulnerability to cause phpmyAdmin to leak sensitive files.
(CVE-2018-19968)
It was discovered that phpMyAdmin incorrectly handled user input. An
attacker could possibly use this for an XSS attack. (CVE-2018-19970)
It was discovered that phpMyAdmin mishandled certain input. An attacker
could use this vulnerability to execute a cross-site scripting (XSS) attack
via a crafted URL. (CVE-2018-7260)
It was discovered that phpMyAdmin failed to sanitize certain input. An
attacker could use this vulnerability to execute an SQL injection attack
via a
Debian
CVE-2020-26935: phpmyadmin - An issue was discovered in SearchController in phpMyAdmin before 4.9.6 and 5.x b...
vendor_debian·2020·CVSS 9.8
CVE-2020-26935 [CRITICAL] CVE-2020-26935: phpmyadmin - An issue was discovered in SearchController in phpMyAdmin before 4.9.6 and 5.x b...
An issue was discovered in SearchController in phpMyAdmin before 4.9.6 and 5.x before 5.0.3. A SQL injection vulnerability was discovered in how phpMyAdmin processes SQL statements in the search feature. An attacker could use this flaw to inject malicious SQL in to a query.
Scope: local
bookworm: resolved (fixed in 4:4.9.7+dfsg1-1)
bullseye: resolved (fixed in 4:4.9.7+dfsg1-1)
forky: resolved (fixed in 4:4.9.7+dfsg1-1)
sid: resolved (fixed in 4:4.9.7+dfsg1-1)
trixie: resolved (fixed in 4:4.9.7+dfsg1-1)
OSV
phpMyAdmin SQL injection vulnerability
osv·2022-05-24
CVE-2020-26935 [CRITICAL] phpMyAdmin SQL injection vulnerability
phpMyAdmin SQL injection vulnerability
An issue was discovered in SearchController in phpMyAdmin before 4.9.6 and 5.x before 5.0.3. A SQL injection vulnerability was discovered in how phpMyAdmin processes SQL statements in the search feature. An attacker could use this flaw to inject malicious SQL in to a query.
GHSA
phpMyAdmin SQL injection vulnerability
ghsa·2022-05-24
CVE-2020-26935 [CRITICAL] CWE-89 phpMyAdmin SQL injection vulnerability
phpMyAdmin SQL injection vulnerability
An issue was discovered in SearchController in phpMyAdmin before 4.9.6 and 5.x before 5.0.3. A SQL injection vulnerability was discovered in how phpMyAdmin processes SQL statements in the search feature. An attacker could use this flaw to inject malicious SQL in to a query.
OSV
phpmyadmin vulnerabilities
osv·2021-03-16·CVSS 5.0
CVE-2014-9218 [MEDIUM] phpmyadmin vulnerabilities
phpmyadmin vulnerabilities
Javier Nieto and Andres Rojas discovered that phpMyAdmin incorrectly
managed input in the form of passwords. An attacker could use this
vulnerability to cause a denial-of-service (DoS). This issue only
affected Ubuntu 14.04 ESM. (CVE-2014-9218)
Emanuel Bronshtein discovered that phpMyAdmin failed to properly sanitize
input in the form of database names in the PHP Array export feature.
An authenticated attacker could use this vulnerability to run arbitrary
PHP commands. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.
(CVE-2016-6609)
Emanuel Bronshtein discovered that phpMyAdmin failed to properly sanitize
input. An attacker could use this vulnerability to execute SQL injection
attacks. This issue only affected Ubuntu 14.04 ESM and Ubuntu 16.04 E
OSV
phpmyadmin vulnerabilities
osv·2020-11-19·CVSS 6.5
CVE-2018-19968 [MEDIUM] phpmyadmin vulnerabilities
phpmyadmin vulnerabilities
It was discovered that there was a bug in the way phpMyAdmin handles the
phpMyAdmin Configuration Storage tables. An authenticated attacker could
use this vulnerability to cause phpmyAdmin to leak sensitive files.
(CVE-2018-19968)
It was discovered that phpMyAdmin incorrectly handled user input. An
attacker could possibly use this for an XSS attack. (CVE-2018-19970)
It was discovered that phpMyAdmin mishandled certain input. An attacker
could use this vulnerability to execute a cross-site scripting (XSS) attack
via a crafted URL. (CVE-2018-7260)
It was discovered that phpMyAdmin failed to sanitize certain input. An
attacker could use this vulnerability to execute an SQL injection attack
via a specially crafted database name. (CVE-2019-11768)
It was discovere
OSV
CVE-2020-26935: An issue was discovered in SearchController in phpMyAdmin before 4
osv·2020-10-10·CVSS 9.8
CVE-2020-26935 [CRITICAL] CVE-2020-26935: An issue was discovered in SearchController in phpMyAdmin before 4
An issue was discovered in SearchController in phpMyAdmin before 4.9.6 and 5.x before 5.0.3. A SQL injection vulnerability was discovered in how phpMyAdmin processes SQL statements in the search feature. An attacker could use this flaw to inject malicious SQL in to a query.
No detection rules found.
Nuclei
phpMyAdmin < 5.0.3 - SQL Injection
nuclei·CVSS 9.8
CVE-2020-26935 [CRITICAL] phpMyAdmin < 5.0.3 - SQL Injection
phpMyAdmin < 5.0.3 - SQL Injection
phpMyAdmin before 4.9.6 and 5.x before 5.0.3 contains a SQL injection caused by improper processing of SQL statements in the search feature, letting attackers inject malicious SQL, exploit requires crafted search input.
Template:
id: CVE-2020-26935
info:
name: phpMyAdmin < 5.0.3 - SQL Injection
author: 0x_Akoko
severity: critical
description: |
phpMyAdmin before 4.9.6 and 5.x before 5.0.3 contains a SQL injection caused by improper processing of SQL statements in the search feature, letting attackers inject malicious SQL, exploit requires crafted search input.
impact: |
Attackers can execute arbitrary SQL commands, potentially leading to data theft, modification, or deletion.
remediation: |
Update to phpMyAdmin 4.9.6 or 5.0.3, or latest version.
refer
Bugzilla
CVE-2020-26935 phpMyAdmin: SQL injection vulnerability in SearchController [epel-all]
bugzilla·2020-10-12·CVSS 9.8
CVE-2020-26935 [CRITICAL] CVE-2020-26935 phpMyAdmin: SQL injection vulnerability in SearchController [epel-all]
CVE-2020-26935 phpMyAdmin: SQL injection vulnerability in SearchController [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported ve
Bugzilla
CVE-2020-26935 phpmyadmin: SQL injection vulnerability in SearchController
bugzilla·2020-10-12·CVSS 9.8
CVE-2020-26935 [CRITICAL] CVE-2020-26935 phpmyadmin: SQL injection vulnerability in SearchController
CVE-2020-26935 phpmyadmin: SQL injection vulnerability in SearchController
An issue was discovered in SearchController in phpMyAdmin before 4.9.6 and 5.x before 5.0.3. A SQL injection vulnerability was discovered in how phpMyAdmin processes SQL statements in the search feature. An attacker could use this flaw to inject malicious SQL in to a query.
Discussion:
External References:
https://www.phpmyadmin.net/security/PMASA-2020-6/
---
Created phpMyAdmin tracking bugs for this issue:
Affects: epel-all [bug 1887255]
Affects: fedora-all [bug 1887254]
---
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.
Bugzilla
CVE-2020-26935 phpMyAdmin: SQL injection vulnerability in SearchController [fedora-all]
bugzilla·2020-10-12·CVSS 9.8
CVE-2020-26935 [CRITICAL] CVE-2020-26935 phpMyAdmin: SQL injection vulnerability in SearchController [fedora-all]
CVE-2020-26935 phpMyAdmin: SQL injection vulnerability in SearchController [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supporte
http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00027.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-11/msg00005.htmlhttps://advisory.checkmarx.net/advisory/CX-2020-4281https://lists.debian.org/debian-lts-announce/2020/10/msg00024.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FHST4E5IJG7IKZTTW3R6MEZPVHJZ472K/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXK37YEHSDYCIPQSYEMN2OFTP2ZLM7DO/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNLGHVDNAEZEGRTUESSSQFM7MZTHIDQ5/https://security.gentoo.org/glsa/202101-35https://www.phpmyadmin.net/security/PMASA-2020-6/http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00027.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-11/msg00005.htmlhttps://advisory.checkmarx.net/advisory/CX-2020-4281https://lists.debian.org/debian-lts-announce/2020/10/msg00024.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FHST4E5IJG7IKZTTW3R6MEZPVHJZ472K/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXK37YEHSDYCIPQSYEMN2OFTP2ZLM7DO/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TNLGHVDNAEZEGRTUESSSQFM7MZTHIDQ5/https://security.gentoo.org/glsa/202101-35https://www.phpmyadmin.net/security/PMASA-2020-6/
2020-10-10
Published