A well-liked WordPress anti-malware plugin was found to have a mirrored cross-site scripting vulnerability. This is a sort of vulnerability that may permit an attacker to compromise an administrator stage person of the affected web site.

Affected WordPress Plugin

The plugin found to comprise the vulnerability is Anti-Malware Security and Brute-Force Firewall, which is utilized by over 200,000 web sites.

Anti-Malware Security and Brute-Force Firewall is a plugin that defends a web site as a firewall (to dam incoming threats) and as a safety scanner, to test for safety threats in the type of backdoor hacks and database injections.

A premium model defends web sites in opposition to brute drive assaults that attempt to guess password and usernames and protects in opposition to DDoS assaults.

Reflected Cross-Site Scripting Vulnerability

This plugin was discovered to comprise a vulnerability that allowed an attacker to launch a Reflected Cross-Site Scripting (mirrored XSS) assault.

A mirrored cross-site scripting vulnerability in this context is one in which a WordPress web site doesn’t correctly restrict what could be enter into the positioning.

That failure to limit (sanitize) what’s being uploaded is basically like leaving the entrance door of the web site unlocked and permitting nearly something to be uploaded.

A hacker takes benefit of this vulnerability by importing a script and having the web site mirror it again.

When somebody with administrator stage permissions visits a compromised URL created by the attacker, the script is activated with the admin-level permissions saved in the sufferer’s browser.

The WPScan report on the Anti-Malware Security and Brute-Force Firewall described the vulnerability:

“The plugin does not sanitise and escape the QUERY_STRING before outputting it back in an admin page, leading to a Reflected Cross-Site Scripting in browsers which do not encode characters”

The United States Government National Vulnerability Database has not but assigned this vulnerability a severity stage rating.

The vulnerability in this plugin is named a Reflected XSS vulnerability.

There are other forms of XSS vulnerabilities however these are three important varieties:

  • Stored Cross-Site Scripting Vulnerability (Stored XSS)
  • Blind Cross-site Scripting (Blind XSS)
  • Reflected XSS

In a saved XSS a Blind XSS vulnerability, the malicious script is saved on the web site itself. These are typically thought-about a better risk as a result of it’s simpler to get an admin stage person to set off the script. But these should not the type that have been found in the plugin.

In a mirrored XSS, which is what was found in the plugin, an individual with admin stage credentials needs to be tricked into clicking a hyperlink (for instance from an e-mail) which then displays the malicious payload from the web site.

The non-profit Open Web Application Security Project (OWASP) describes a Reflected XSS like this:

“Reflected assaults are these the place the injected script is mirrored off the net server, equivalent to in an error message, search consequence, or another response that features some or the entire enter despatched to the server as a part of the request.

Reflected assaults are delivered to victims by way of one other route, equivalent to in an e-mail message, or on another web site.”

Update to Version 4.20.96 Recommended

It is mostly really useful to have a backup of your WordPress information earlier than updating any plugin or theme.

Version 4.20.96 of the Anti-Malware Security and Brute-Force Firewall WordPress plugin comprises a repair for the vulnerability.

Users of the plugin are really useful to contemplate updating their plugin to model 4.20.96.


Read the United States Vulnerability Database Details

CVE-2022-0953 Detail

Read the WPScan Report on the Vulnerability

Anti-Malware Security and Brute-Force Firewall < 4.20.96 – Reflected Cross-Site Scripting

Read the Official Changelog that Documents the Fixed Version

Anti-Malware Security and Brute-Force Firewall Changelog


Please enter your comment!
Please enter your name here