GHSA-phg7-8mm9-gj88medium6.5
EGroupware mishandles an ORDER BY clause
Impact
EGroupware before 23.1.20240624 mishandles an ORDER BY clause. This leads to json.php menuaction=EGroupware\Api\Etemplate\Widget\Nextmatch::ajax_get_rows sort.id SQL injection by authenticated users for Address Book or InfoLog sorting.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
egroupware/egroupware Packagist
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 23.1.20240624Ecosystem versions | 23.1.20240624 |
Version evidence: OSV · GHSA-phg7-8mm9-gj88
View original version evidence (165 explicit versions)
Original source description
EGroupware before 23.1.20240624 mishandles an ORDER BY clause. This leads to json.php menuaction=EGroupware\Api\Etemplate\Widget\Nextmatch::ajax_get_rows sort.id SQL injection by authenticated users for Address Book or InfoLog sorting.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2024-40614
- Patch github.com/EGroupware/egroupware/commit/553829d30cc2ccdc0e5a8c5a0e16fa03a3399a3f
- Source reference github.com/EGroupware/egroupware
- Source reference github.com/EGroupware/egroupware/compare/23.1.20240430...23.1.20240624
- Release notes github.com/EGroupware/egroupware/releases/tag/23.1.20240624
- Security advisory help.egroupware.org/t/egroupware-maintenance-security-release-23-1-20240624/78438
- Source reference syss.de/
- Security advisory www.syss.de/fileadmin/dokumente/Publikationen/Advisories/SYSS-2024-047.txt
- Source reference www.syss.de/pentest-blog/sql-injection-schwachstelle-in-egroupware-syss-2024-047