Open Redirect Affecting showdoc/showdoc package, versions <v2.9.14


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.08% (35th 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 Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-SHOWDOCSHOWDOC-2309712
  • published3 Dec 2021
  • disclosed3 Dec 2021
  • creditChau Minh Khanh

Introduced: 3 Dec 2021

CVE-2021-4000  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade showdoc/showdoc to version v2.9.14 or higher.

Overview

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

Affected versions of this package are vulnerable to Open Redirect via the redirect parameter on the login page, by using the "Chinese dot" %E3%80%82 to bypass the dot (.) filter

###POC:

Send users the following login link:
`https://www.showdoc.com.cn/user/login?redirect=/%09/google%E3%80%82com`

After users use their registered accounts to login, they will be redirected to google.com

References

CVSS Scores

version 3.1