{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-28240 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-28240 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-28240 is a high-severity vulnerability in glpi-project glpi-agent, published on 25 Apr 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-28240 and fix it if it is affected.\n\nWhat it is: CVE-2024-28240 is a high-severity vulnerability in glpi-project glpi-agent, published on 25 Apr 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2024-28240 in the wild and no public exploit code.\n\nAffected product: glpi-project glpi-agent. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-28240/ (Markdown: https://insights.sbomify.com/CVE-2024-28240/index.md)","id":"CVE-2024-28240","markdown":"https://insights.sbomify.com/CVE-2024-28240/index.md","name":"CVE-2024-28240","record":{"aliases":["GHSA-hx3x-mmqg-h3jp","UBUNTU-CVE-2024-28240"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["privilege_escalation","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"GLPI Agent","requires_auth":"low_privilege","summary":"Local users can escalate privileges or cause denial of service by modifying GLPI Agent configuration if the Deploy task is installed.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"glpi_agent","vendor":"glpi-project"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"The GLPI Agent is a generic management agent. A vulnerability that only affects GLPI-Agent installed on windows via MSI packaging can allow a local user to cause denial of agent service by replacing GLPI server url with a wrong url or disabling the service. Additionally, in the case the Deploy task is installed, a local malicious user can trigger privilege escalation configuring a malicious server providing its own deploy task payload. GLPI-Agent 1.7.2 contains a patch for this issue. As a workaround, edit GLPI-Agent related key under `HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall` and add `SystemComponent` DWORD value setting it to `1` to hide GLPI-Agent from installed applications.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"GLPI-Agent's MSI package installation permits local users to change Agent configuration","id":"CVE-2024-28240","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"GlPI-Agent MSI package installation doesn't update folder security profile when using non default installation folder","id":"CVE-2024-28241"},"packages":[],"prev":{"headline":"URL Redirection to Untrusted Site in OAuth2/OpenID in directus","id":"CVE-2024-28239"},"products":["glpi-agent"],"published":"2024-04-25","related":[{"cvss_score":7.7,"headline":"Remote inventory task command injection when using ssh command mode","id":"CVE-2023-34254","kev_date_added":null,"published":"2023-06-23"},{"cvss_score":7.3,"headline":"GlPI-Agent MSI package installation doesn't update folder security profile when using non default installation folder","id":"CVE-2024-28241","kev_date_added":null,"published":"2024-04-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["glpi-project"]},"summary":"Local users can escalate privileges or cause denial of service by modifying GLPI Agent configuration if the Deploy task is installed.","url":"https://insights.sbomify.com/CVE-2024-28240/"}