Cross-site Request Forgery (CSRF) Affecting yourls/yourls package, versions <1.9


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.07% (33rd 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-YOURLSYOURLS-2440549
  • published3 Apr 2022
  • disclosed3 Apr 2022
  • creditM0rphling

Introduced: 3 Apr 2022

CVE-2022-0088  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade yourls/yourls to version 1.9 or higher.

Overview

yourls/yourls is an is a set of PHP scripts that allow you to run Your Own URL Shortener.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) by forcibly logging a user out by tricking them to click a malicious link.

PoC

<yourls/yourls address>:<port>/admin/index.php?action=logout

CVSS Scores

version 3.1