Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade z-push/z-push-dev
to version 2.7.6 or higher.
z-push/z-push-dev is an open-source application to synchronize ActiveSync compatible devices
Affected versions of this package 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.
Change configuration to use the default or LDAP in backend/imap/config.php
define('IMAP_DEFAULTFROM', '');
or
define('IMAP_DEFAULTFROM', 'ldap');