WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact
WPScan
How it worksPricing
Vulnerabilities
WordPressPluginsThemesStatsSubmit vulnerabilities
For developers
StatusAPI detailsCLI scanner
Contact

WordPress Plugin Vulnerabilities

Loginizer < 1.6.4 - Unauthenticated SQL Injection

Description

The Loginizer WordPress plugin was found to be affected by an Unauthenticated SQL Injection vulnerability found by the security researcher mslavco.

The vulnerability was triggered within the brute force protection functionality, which was enabled by default when the plugin was first installed. When a user attempts to login with an unknown username, the attempt is logged in the backend database, where the username, as well as other parameters, are not properly validated before being placed within the SQL query.

The patch for this issue also included other input sanitisation checks to prevent Cross-Site Scripting (XSS) vulnerabilities.

WordPress issued a forced update to patch this vulnerability. According to the plugin author, this resulted in 89% of sites with the plugin being successfully patched.

Proof of Concept

From the original researcher:

$ sqlmap.py -u http://local.target/wp-login.php --method='POST' --data='log=&pwd=password&wp-submit=Log+In&redirect_to=&testcookie=1' -p log --prefix="', ip = LEFT(UUID(), 8), url = ( TRUE " --suffix=") -- wpdeeply" --dbms mysql --technique=T --time-sec=1 --current-db --current-user 

Affects Plugins

loginizer
Fixed in version 1.6.4

References

CVE
CVE-2020-27615
URL
https://wpdeeply.com/loginizer-before-1-6-4-sqli-injection/
URL
https://plugins.trac.wordpress.org/changeset/2401010/loginizer
URL
https://loginizer.com/blog/loginizer-1-6-4-security-fix/
URL
https://www.zdnet.com/article/wordpress-deploys-forced-security-update-for-dangerous-bug-in-popular-plugin/
Metasploit
auxiliary/scanner/http/wp_loginizer_log_sqli

Classification

Type

SQLI

OWASP top 10
A1: Injection
CWE
CWE-89

Miscellaneous

Original Researcher

mslavco

Verified

Yes

WPVDB ID
07683e3e-ffa7-452c-885f-31e8127acf3b

Timeline

Publicly Published

2020-10-21 (about 2 years ago)

Added

2020-10-21 (about 2 years ago)

Last Updated

2020-11-09 (about 2 years ago)

Our Other Services

WPScan WordPress Security Plugin
WPScan

Vulnerabilities

WordPressPluginsThemesOur StatsSubmit vulnerabilities

About

How it worksPricingWordPress pluginNewsContact

For Developers

StatusAPI detailsCLI scanner

Other

PrivacyTerms of serviceSubmission termsDisclosure policyPrivacy Notice for California Users
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us