GHSA-W832-W3P8-CW29
Vulnerability from github – Published: 2025-07-29 06:30 – Updated: 2025-07-29 20:12
VLAI?
Summary
z-push/z-push-dev SQL Injection Vulnerability
Details
Versions of the package z-push/z-push-dev before 2.7.6 are vulnerable to SQL Injection due to unparameterized queries in the IMAP backend. An attacker can inject malicious commands by manipulating the username field in basic authentication. This allows the attacker to access and potentially modify or delete sensitive data from a linked third-party database.
Note: This vulnerability affects Z-Push installations that utilize the IMAP backend and have the IMAP_FROM_SQL_QUERY option configured.
Mitigation Change configuration to use the default or LDAP in backend/imap/config.php
php define('IMAP_DEFAULTFROM', '');
or php define('IMAP_DEFAULTFROM', 'ldap');
Severity ?
{
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "z-push/z-push-dev"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.6"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2025-8264"
],
"database_specific": {
"cwe_ids": [
"CWE-89"
],
"github_reviewed": true,
"github_reviewed_at": "2025-07-29T20:12:47Z",
"nvd_published_at": "2025-07-29T05:15:32Z",
"severity": "HIGH"
},
"details": "Versions of the package z-push/z-push-dev before 2.7.6 are vulnerable to SQL Injection due to unparameterized queries in the IMAP backend. An attacker can inject malicious commands by manipulating the username field in basic authentication. This allows the attacker to access and potentially modify or delete sensitive data from a linked third-party database. \n\n**Note:** This vulnerability affects Z-Push installations that utilize the IMAP backend and have the IMAP_FROM_SQL_QUERY option configured. \n\n Mitigation\nChange configuration to use the default or LDAP in backend/imap/config.php\n\nphp\ndefine(\u0027IMAP_DEFAULTFROM\u0027, \u0027\u0027);\n\nor\nphp\ndefine(\u0027IMAP_DEFAULTFROM\u0027, \u0027ldap\u0027);",
"id": "GHSA-w832-w3p8-cw29",
"modified": "2025-07-29T20:12:47Z",
"published": "2025-07-29T06:30:21Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-8264"
},
{
"type": "WEB",
"url": "https://github.com/Z-Hub/Z-Push/pull/161"
},
{
"type": "WEB",
"url": "https://github.com/Z-Hub/Z-Push/pull/161/commits/f981d515a35ac4c303959af21dce880a5db02786"
},
{
"type": "WEB",
"url": "https://github.com/Z-Hub/Z-Push/commit/deb044a40e97dab1814da9aa8330c0a590957fc5"
},
{
"type": "PACKAGE",
"url": "https://github.com/Z-Hub/Z-Push"
},
{
"type": "WEB",
"url": "https://github.com/Z-Hub/Z-Push/blob/af25a2169a50d6e05a5916d1e8b2b6cd17011c98/src/backend/imap/user_identity.php%23L211C9-L214C25"
},
{
"type": "WEB",
"url": "https://security.snyk.io/vuln/SNYK-PHP-ZPUSHZPUSHDEV-10908180"
},
{
"type": "WEB",
"url": "https://xbow.com/blog/xbow-zpush-sqli"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"type": "CVSS_V4"
}
],
"summary": "z-push/z-push-dev SQL Injection Vulnerability"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…