5.3 CVE-2022-4529

Path Traversal
 

The Security, Antivirus, Firewall – S.A.F plugin for WordPress is vulnerable to IP Address Spoofing in versions up to, and including, 2.3.5. This is due to insufficient restrictions on where the IP Address information is being retrieved for request logging and login restrictions. Attackers can supply the X-Forwarded-For header with with a different IP Address that will be logged and can be used to bypass settings that may have blocked out an IP address from logging in.
https://nvd.nist.gov/vuln/detail/CVE-2022-4529

Categories

CWE-348 : Use of Less Trusted Source
The product has two different sources of the same data or information, but it uses the source that has less support for verification, is less trusted, or is less resistant to attack. Product uses IP address provided by a client, instead of obtaining it from the packet headers, allowing easier spoofing. Web product uses the IP address in the X-Forwarded-For HTTP header instead of a server variable that uses the connecting IP address, allowing filter bypass. Product logs IP address specified by the client instead of obtaining it from the packet headers, allowing information hiding. PHP application uses IP address from X-Forwarded-For HTTP header, instead of REMOTE_ADDR.

CWE-NVD-Other

References


 

CPE

cpe start end
Configuration 1
cpe:2.3:a:msoftplugins:security_antivirus_firewall:*:*:*:*:*:wordpress:*:* <= 2.3.5


REMEDIATION




EXPLOITS


Exploit-db.com

id description date
No known exploits

POC Github

Url
No known exploits

Other Nist (github, ...)

Url
No known exploits


CAPEC


Common Attack Pattern Enumerations and Classifications

id description severity
141 Cache Poisoning
High
142 DNS Cache Poisoning
High
73 User-Controlled Filename
High
76 Manipulating Web Input to File System Calls
Very High
85 AJAX Footprinting
Low


MITRE


Techniques

id description
T1557.002 Adversary-in-the-Middle: ARP Cache Poisoning
T1584.002 Compromise Infrastructure: DNS Server
© 2022 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.

Mitigations

id description
T1557.002 Train users to be suspicious about certificate errors. Adversaries may use their own certificates in an attempt to intercept HTTPS traffic. Certificate errors may arise when the application’s certificate does not match the one expected by the host.
T1584.002 This technique cannot be easily mitigated with preventive controls since it is based on behaviors performed outside of the scope of enterprise defenses and controls.
© 2022 The MITRE Corporation. Esta obra se reproduce y distribuye con el permiso de The MITRE Corporation.