WordPress Plugin Vulnerabilities

Custom Content Shortcode <= 4.0.2 - Contributor+ LFI

Description

The plugin does not validate one of its shortcode attribute, which could allow users with a contributor role and above to include arbitrary files via a traversal attack. This could also allow them to read non PHP files and retrieve their content. RCE could also be achieved if the attacker manage to upload a malicious image containing PHP code, and then include it via the affected attribute, on a default WP install, authors could easily achieve that given that they have the upload_file capability.

Proof of Concept

Affects Plugins

References

Classification

Type
LFI
OWASP top 10
CWE

Miscellaneous

Original Researcher
Erwan LR (WPScan)
Verified
Yes

Timeline

Publicly Published
2023-02-22 (about 2 years ago)
Added
2023-02-22 (about 2 years ago)
Last Updated
2023-02-22 (about 2 years ago)

Other