CVE-2025-24530
Medium · 6.4CVSS
6.4
EPSS
0.4%
Published
Jan 23, 2025
CISA due date
—
Cloudanix analysis
A problem in database management software lets attackers slip harmful code into certain names so it runs when other people look at those names, which could expose sensitive information.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- XSS
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Cross-site scripting flaw in the check tables feature allows injection of arbitrary scripts via crafted table or database names, enabling execution in other users' browsers with limited confidentiality and integrity impact across security contexts.
Why it matters to the business
Potential exposure of user sessions or unauthorized actions within database administration interfaces across Red Hat service mesh deployments, increasing risk of data leakage; low and stable EPSS with no KEV listing and over 600 days since publication indicates limited active exploitation but still requires patching of affected packages to prevent opportunistic abuse.
How an attack unfolds
An attacker with low-privileged access crafts a table or database name containing malicious script payloads and triggers the check tables feature; when a victim user interacts with the feature, the payload executes in their browser session.
How to fix it
Upgrade all affected Red Hat service mesh packages to the listed fixed versions: servicemesh, servicemesh-citadel, servicemesh-galley, servicemesh-istioctl, servicemesh-mixc, servicemesh-mixs, servicemesh-pilot-agent, servicemesh-pilot-discovery, and servicemesh-sidecar-injector to 0:1.1.17-3.el8; servicemesh-proxy to 0:1.1.17-2.el8.
How to confirm the fix worked
Verify installed package versions match or exceed the fixed releases using package manager queries; test the check tables feature with sample objects to confirm absence of script execution.
Typical attack path
- Identify accessible phpMyAdmin instance within affected Red Hat service mesh environment
- Create or rename a table or database using a name embedding JavaScript or HTML payload
- Trigger the check tables feature for the malicious object
- Wait for or lure a victim user to view or interact with the object
- Execute injected script to steal cookies, redirect, or perform actions on behalf of the victim
How to detect it
Search web server and application logs for requests containing suspicious characters in table or database name parameters around the check tables functionality; inspect browser-side artifacts or proxy logs for unexpected script execution originating from administrative interfaces.
What your security team should do
- Prioritize upgrade of all listed Red Hat service mesh packages to the specified fixed versions
- Review and restrict low-privileged access to phpMyAdmin interfaces
- Implement web application firewall rules to sanitize database object names
- Monitor application logs for unusual table or database name patterns
The record
An issue was discovered in phpMyAdmin 5.x before 5.2.2. An XSS vulnerability has been discovered for the check tables feature. A crafted table or database name could be used for XSS.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Packagist | phpmyadmin/phpmyadmin | 5.0.0 | 5.2.2 |
| Bitnami | phpmyadmin | 5.0.0 | 5.2.2 |
| Debian:11 | phpmyadmin | 0 | No fix |
| Debian:11 | phpmyadmin | 0 | 4:5.0.4+dfsg2-2+deb11u2 |
| Debian:12 | phpmyadmin | 0 | No fix |
| Debian:13 | phpmyadmin | 0 | 4:5.2.2-really5.2.2+20250121+dfsg-1 |
| SUSE:Package Hub 15 SP6 | phpMyAdmin | 0 | 5.2.2-bp156.4.3.1 |
| Ubuntu:20.04:LTS | phpmyadmin | 0 | No fix |
| Ubuntu:22.04:LTS | phpmyadmin | 0 | No fix |
| Ubuntu:24.04:LTS | phpmyadmin | 0 | No fix |
| Ubuntu:24.10 | phpmyadmin | 0 | No fix |
| Ubuntu:25.04 | phpmyadmin | 0 | No fix |
| Ubuntu:25.10 | phpmyadmin | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | phpmyadmin | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | phpmyadmin | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | phpmyadmin | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | phpmyadmin | 0 | No fix |
| openSUSE:Leap 15.6 | phpMyAdmin | 0 | 5.2.2-bp156.4.3.1 |
| openSUSE:Tumbleweed | phpMyAdmin | 0 | 5.2.2-2.1 |
| packagist | phpmyadmin/phpmyadmin | 5.0.0 | 5.2.2 |
Related vulnerabilities
- CVE-2016-5734 phpMyAdmin 4.0.x before 4.0.10.16, 4.4.x before 4.4.15.7, and 4.6.x before 4.6.3 does not… Also affects phpmyadmin/phpmyadmin
- CVE-2015-6830 libraries/plugins/auth/AuthenticationCookie.class.php in phpMyAdmin 4.3.x before 4.3.13.2… Also affects phpmyadmin/phpmyadmin
- CVE-2011-4107 The simplexml_load_string function in the XML import plug-in (libraries/import/xml.php)… Also affects phpmyadmin/phpmyadmin
- CVE-2011-2505 libraries/auth/swekey/swekey.auth.lib.php in the Swekey authentication feature in… Also affects phpmyadmin/phpmyadmin
- CVE-2025-24529 An issue was discovered in phpMyAdmin 5.x before 5.2.2. Also affects phpmyadmin
- CVE-2014-9218 libraries/common.inc.php in phpMyAdmin 4.0.x before 4.0.10.7, 4.1.x before 4.1.14.8, and… Also affects phpmyadmin
- CVE-2010-3055 The configuration setup script (aka scripts/setup.php) in phpMyAdmin 2.11.x before… Also affects phpmyadmin
- CVE-2009-1285 Static code injection vulnerability in the getConfigFile function in… Also affects phpmyadmin