{"answers":{"affected":"2 open source packages ship an affected version, including egroupware/egroupware. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-40614 exists.","fix":"Upgrade egroupware/egroupware to 23.1.20240624 or later.","what":"CVE-2024-40614 is a medium-severity SQL injection vulnerability in n/a, published on 7 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-40614 and fix it if it is affected.\n\nWhat it is: CVE-2024-40614 is a medium-severity SQL injection vulnerability in n/a, published on 7 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-40614 exists.\n\nAffected packages and fixed versions:\n- egroupware/egroupware (Packagist): affected all versions; fixed in 23.1.20240624\n- egroupware/egroupware (Packagist): affected all versions; fixed in 23.1.20240624\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-40614/ (Markdown: https://insights.sbomify.com/CVE-2024-40614/index.md)","id":"CVE-2024-40614","markdown":"https://insights.sbomify.com/CVE-2024-40614/index.md","name":"CVE-2024-40614","record":{"aliases":["GHSA-phg7-8mm9-gj88"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"EGroupware","requires_auth":"low_privilege","summary":"Authenticated users can exploit SQL injection in EGroupware's sorting functionality to read or modify database contents.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"egroupware","vendor":"egroupware"}],"cvss":{"score":6.5,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"EGroupware mishandles an ORDER BY clause","id":"CVE-2024-40614","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"sql_injection","year":"2024"},"n_packages":2,"n_references":7,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2024-40616"},"packages":[{"ecosystem":"Packagist","fixed":["23.1.20240624"],"introduced":["0"],"last_affected":[],"package":"egroupware/egroupware","purl":null,"source":"GHSA-phg7-8mm9-gj88"},{"ecosystem":"Packagist","fixed":["23.1.20240624"],"introduced":["0"],"last_affected":[],"package":"egroupware/egroupware","purl":"pkg:composer/egroupware/egroupware","source":"GHSA-phg7-8mm9-gj88"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2024-40605"},"products":["n/a"],"published":"2024-07-07","related":[{"cvss_score":10,"headline":"Code injection in n/a","id":"CVE-2008-2041","kev_date_added":null,"published":"2008-04-30"},{"cvss_score":10,"headline":"Unspecified vulnerability in Walter Zorn wz_tooltip.js (aka wz_tooltips) before 4.01, as used by eGroupWare before 1.2.107-2 and other packa","id":"CVE-2007-3154","kev_date_added":null,"published":"2007-06-11"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2007-3155","kev_date_added":null,"published":"2007-06-11"},{"cvss_score":8.7,"headline":"EGroupware has SQL Injection in Nextmatch Filter Processing","id":"CVE-2026-22243","kev_date_added":null,"published":"2026-01-28"},{"cvss_score":8.5,"headline":"Code injection in n/a","id":"CVE-2014-2988","kev_date_added":null,"published":"2014-10-27"},{"cvss_score":7.5,"headline":"Code injection in n/a","id":"CVE-2014-2027","kev_date_added":null,"published":"2015-03-31"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2011-4949","kev_date_added":null,"published":"2012-08-31"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-25","vendors":["n/a"]},"summary":"Authenticated users can exploit SQL injection in EGroupware's sorting functionality to read or modify database contents.","url":"https://insights.sbomify.com/CVE-2024-40614/"}