Skip to content

GHSA-9wqr-9787-p4rf CVE-2022-2368

Microweber before 1.2.21 allows attacker to bypass IP detection to brute-force password

Medium Packagist
Severity
6.5 / 10
Medium · CVSS 3.0
Exploit chance (EPSS)
1.16%
Chance of exploitation in the next 30 days. Higher than 67.28% of scored vulnerabilities.
Known exploited
No
Not in CISA's catalog
Weakness
CWE-290 Authentication Bypass by Spoofing
Fix
1.2.21
Upgrade microweber/microweber to this version or later

Description

In the login API, an IP address will by default be blocked when the user tries to login incorrectly more than 5 times. However, a bypass to this mechanism is possible by abusing a X-Forwarded-For header to bypass IP detection and perform a password brute-force. A patch for this issue is available in Microweber version 1.2.21.

Affected versions

Packagist

PackageVulnerableFixed in
microweber/microweber
< 1.2.21
1.2.21

How to fix

Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.

microweber/microweber Packagist → 1.2.21

composer
composer require microweber/microweber:^1.2.21

Severity breakdown

CVSS 3.0 6.5

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

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

Weakness

CWE-290: Authentication Bypass by Spoofing

This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.

References

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy it's related
GHSA-vv4x-qcpq-wgrg
Microweber vulnerable to Path Traversal
High Also affects microweber/microweber
GHSA-6w5w-jx4x-vjvw
Microweber Cross-site Scripting vulnerability
Medium Also affects microweber/microweber
GHSA-5jg5-xqfw-rv92
Microweber has a Cross-site Scripting vulnerability
Medium Also affects microweber/microweber
GHSA-2x2j-3c2v-g3c2
Microweber XSS Vulnerability in the homepage Endpoint
High Also affects microweber/microweber
GHSA-mvj3-hc7j-vp74
Microweber has Reflected XSS Vulnerability in the layout Parameter
Medium Also affects microweber/microweber
GHSA-8357-fjvx-xrm8
Microweber has Reflected XSS Vulnerability in the id Parameter
Medium Also affects microweber/microweber
GHSA-782f-gxj5-xvqc
Microweber Has Stored XSS Vulnerability in User Profile Fields
High Also affects microweber/microweber
GHSA-j64v-xh5w-8hqj
Microweber CMS API has authenticated local file inclusion vulnerability
High Also affects microweber/microweber
Is this in your code?

MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.

Check your repos with MergeHarbor