Cross-site Request Forgery (CSRF) Affecting showdoc/showdoc package, versions <2.9.15


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.13% (49th 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 Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SHOWDOCSHOWDOC-2326701
  • published26 Dec 2021
  • disclosed26 Dec 2021
  • creditKhanhCM

Introduced: 26 Dec 2021

CVE-2021-4168  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade showdoc/showdoc to version 2.9.15 or higher.

Overview

showdoc/showdoc is a tool for an IT team to share documents online.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) via a GET request. An attacker is able to do an unintentional action in the victim's account by tricking other users into clicking on the hyperlink in the malicious page of the project. In addition, the user-id "uid" is also exposed via the JSON response.

This is due to an incomplete fix of CVE-2021-4017.

References

CVSS Scores

version 3.1