Home

Description

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');

PUBLISHED Reserved 2025-07-26 | Published 2025-07-29 | Updated 2025-07-29 | Assigner snyk




CRITICAL: 9.1CVSS: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
CRITICAL: 9.0CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P

Problem types

SQL Injection

Credits

XBOW

References

security.snyk.io/vuln/SNYK-PHP-ZPUSHZPUSHDEV-10908180

xbow.com/blog/xbow-zpush-sqli/

github.com/...mmits/f981d515a35ac4c303959af21dce880a5db02786

github.com/Z-Hub/Z-Push/pull/161

github.com/.../backend/imap/user_identity.php#L211C9-L214C25

cve.org (CVE-2025-8264)

nvd.nist.gov (CVE-2025-8264)

Download JSON