{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-6787 exists.","fix":"No fix has been published for CVE-2013-6787 yet. Limit exposure of the affected software until one is available.","what":"CVE-2013-6787 is a medium-severity SQL injection vulnerability in Chamilo Chamilo Lms, published on 5 Dec 2013. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2013-6787 and fix it if it is affected.\n\nWhat it is: CVE-2013-6787 is a medium-severity SQL injection vulnerability in Chamilo Chamilo Lms, published on 5 Dec 2013. 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-2013-6787 exists.\n\nAffected product: Chamilo Chamilo Lms. 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-2013-6787/ (Markdown: https://insights.sbomify.com/CVE-2013-6787/index.md)","id":"CVE-2013-6787","markdown":"https://insights.sbomify.com/CVE-2013-6787/index.md","name":"CVE-2013-6787","record":{"aliases":["GHSA-95v7-5m6p-wwv3"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Chamilo LMS","requires_auth":"low_privilege","summary":"Remote authenticated users can execute arbitrary SQL commands in Chamilo LMS when non-encrypted passwords are enabled, allowing data access or modification.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"chamilo_lms","vendor":"chamilo"}],"cvss":{"score":6,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"SQL injection vulnerability in the check_user_password function in main/auth/profile.php in Chamilo LMS 1.9.6 and earlier, when using the non-encrypted passwords mode set at installation, allows remote authenticated users to execute arbitrary SQL commands via the \"password0\" parameter.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2013-12-03","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2013-12-03","kind":"exploitdb","ref":"30012","stars":null,"title":"Chamilo Lms 1.9.6 - 'profile.php?password' SQL Injection"}],"tier":"weaponised"},"has_fix":null,"headline":"SQL injection in n/a","id":"CVE-2013-6787","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"chamilo:chamilo_lms","products":["chamilo:chamilo_lms"],"type":"sql_injection","year":"2013"},"n_packages":0,"n_references":4,"next":{"headline":"Auth bypass in n/a","id":"CVE-2013-6788"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2013-6786"},"products":["n/a"],"published":"2013-12-05","related":[{"cvss_score":9.8,"headline":"Chamilo: Evaluation of untrusted user input leads to Remote Code Execution","id":"CVE-2025-50187","kev_date_added":null,"published":"2026-03-02"},{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2023-34944","kev_date_added":null,"published":"2023-06-13"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2022-27423","kev_date_added":null,"published":"2022-04-15"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2021-35414","kev_date_added":null,"published":"2021-12-03"},{"cvss_score":9.8,"headline":"File upload in n/a","id":"CVE-2019-13082","kev_date_added":null,"published":"2019-06-30"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2018-1999019","kev_date_added":null,"published":"2018-07-23"},{"cvss_score":9.4,"headline":"Weak Password Recovery Mechanism for Forgotten Password in chamilo/chamilo-lms","id":"CVE-2026-33707","kev_date_added":null,"published":"2026-04-10"}],"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote authenticated users can execute arbitrary SQL commands in Chamilo LMS when non-encrypted passwords are enabled, allowing data access or modification.","url":"https://insights.sbomify.com/CVE-2013-6787/"}