cbcvebase.
CVE-2017-7981
published 2017-04-29

CVE-2017-7981: 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…

PriorityP267high8.8CVSS 3.0
AVNACLPRLUINSUCHIHAH
EXPLOIT
EPSS
16.13%
96.5th percentile
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 '<?plugin SyntaxHighlighter syntax="c;id"' line to execute the id command.

Affected

2 ranges
VendorProductVersion rangeFixed in
enaleantuleap< 9.79.7
phpwiki_projectphpwiki

Detection & IOCsextracted from sources · hover to see the quote

command<?plugin SyntaxHighlighter syntax="c;id"
  • Monitor wiki page content submissions for shell metacharacters (e.g., `;`, `|`, `&`) within the SyntaxHighlighter plugin `syntax` parameter, which is passed unsanitized to `proc_open()`.
  • Look for wiki markup containing `<?plugin SyntaxHighlighter syntax=` with values containing shell metacharacters in Project Wiki page saves or previews.
  • Exploitation requires an authenticated session; correlate suspicious wiki edits with authenticated user accounts on Tuleap versions 8.3 through 9.6.99.86.
  • ·Exploitation is limited to authenticated Tuleap users; unauthenticated attackers cannot trigger the command injection via the SyntaxHighlighter plugin.
  • ·The vulnerability is specific to the PhpWiki 1.3.10 SyntaxHighlighter plugin as bundled with Tuleap before 9.7; the fix is present in PhpWiki 1.5.5 and Tuleap 9.7.

CVSS provenance

nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.09.0CRITICALAV:N/AC:L/Au:S/C:C/I:C/A:C
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.