CVE-2017-7981 Command injection in n/a

High 8.8 Published Updated

An authenticated user can execute arbitrary commands via the SyntaxHighlighter plugin in Tuleap due to unsafe use of proc_open.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-7981?

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.

Official 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 '<?plugin SyntaxHighlighter syntax="c;id"' line to execute the id command.

Weakness: CWE-78

Which versions are affected by CVE-2017-7981?

It affects 2 products.

Products include Enalean Tuleap, Phpwiki Project Phpwiki.

How do I fix CVE-2017-7981?

No fix has been published for CVE-2017-7981 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2017-7981 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-7981 exists.

Public exploit code: 1 Exploit-DB entry.

All Enalean Tuleap vulnerabilities

Sources

Also known as GHSA-8h34-7hrp-w64c.

Is CVE-2017-7981 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free