{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-7981 exists.","fix":"No fix has been published for CVE-2017-7981 yet. Limit exposure of the affected software until one is available.","what":"CVE-2017-7981 is a high-severity command injection vulnerability in Enalean Tuleap, published on 29 Apr 2017. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-7981 and fix it if it is affected.\n\nWhat it is: CVE-2017-7981 is a high-severity command injection vulnerability in Enalean Tuleap, published on 29 Apr 2017. 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-2017-7981 exists.\n\nAffected product: Enalean Tuleap. 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-2017-7981/ (Markdown: https://insights.sbomify.com/CVE-2017-7981/index.md)","id":"CVE-2017-7981","markdown":"https://insights.sbomify.com/CVE-2017-7981/index.md","name":"CVE-2017-7981","record":{"aliases":["GHSA-8h34-7hrp-w64c"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Tuleap project management","requires_auth":"low_privilege","summary":"An authenticated user can execute arbitrary commands via the SyntaxHighlighter plugin in Tuleap due to unsafe use of proc_open.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"tuleap","vendor":"enalean"},{"product":"phpwiki","vendor":"phpwiki_project"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"Tuleap before 9.7 allows command injection via the PhpWiki 1.3.10 SyntaxHighlighter plugin. This occurs in the Project Wiki component because the proc_open PHP function is used within PhpWiki before 1.5.5 with a syntax value in its first argument, and an authenticated Tuleap user can control this value, even with shell metacharacters, as demonstrated by a '\u003c?plugin SyntaxHighlighter syntax=\"c;id\"' line to execute the id command.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2017-05-01","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2017-05-01","kind":"exploitdb","ref":"41953","stars":null,"title":"Tuleap Project Wiki 8.3 \u003c 9.6.99.86 - Command Injection"}],"tier":"weaponised"},"has_fix":false,"headline":"Command injection in n/a","id":"CVE-2017-7981","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"enalean:tuleap","products":["enalean:tuleap"],"type":"command_injection","year":"2017"},"n_packages":0,"n_references":4,"next":{"headline":"Integer overflow in n/a","id":"CVE-2017-7982"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2017-7980"},"products":["n/a"],"published":"2017-04-29","related":[{"cvss_score":9.8,"headline":"Business logic in n/a","id":"CVE-2018-17298","kev_date_added":null,"published":"2018-09-21"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2018-7538","kev_date_added":null,"published":"2018-03-12"},{"cvss_score":9.3,"headline":"Command injection in n/a","id":"CVE-2014-7178","kev_date_added":null,"published":"2014-11-28"},{"cvss_score":8.8,"headline":"SQL injection in Tuleap","id":"CVE-2021-43806","kev_date_added":null,"published":"2021-12-15"},{"cvss_score":8.8,"headline":"SQL injection in the \"SVN core\" commits browser","id":"CVE-2021-41154","kev_date_added":null,"published":"2021-10-18"},{"cvss_score":8.8,"headline":"SQL injection in CVS revisions browser","id":"CVE-2021-41155","kev_date_added":null,"published":"2021-10-18"},{"cvss_score":8.8,"headline":"The update of the CI job targeted by a widget is vulnerable to blind SQL injections","id":"CVE-2021-41148","kev_date_added":null,"published":"2021-10-15"}],"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-05","vendors":["n/a"]},"summary":"An authenticated user can execute arbitrary commands via the SyntaxHighlighter plugin in Tuleap due to unsafe use of proc_open.","url":"https://insights.sbomify.com/CVE-2017-7981/"}