CRITICAL Security Issue in Post Type Feed
-
It is possible to view the full database user record for the author of any post displayed in the post type feed, including username and encrypted password.
The Post Types feed uses an AJAX query to retrieve the latest posts from the blog. These posts are returned in JSON format. However, the full user record is also attached to each post (used to display the Author) and can be easily viewed by visiting the AJAX URL directly. You can view this by using the following URL on your site with GC Social Wall installed:
[base_url]/wp-admin/admin-ajax.php?action=getPosts&args%5Bposts_per_page%5D=5&args%5Boffset%5D=0&args%5Bpost_type%5D=
You will see the author records for each post with the WordPress username and encrypted password in the list. This works whether you have enabled the Post Type feed or not. It can be called on any site with the GC Social Wall plugin activated.
FIXES:
SOLUTION 1:
Disable the plugin and/or uninstall it.SOLUTION 2:
You can disable the Post Feed functionality to mitigate this issue. This will allow you to continue to use external feeds (Facebook & Twitter, etc.)1) Edit the settings for your GC Social Wall shortcode and remove the Post Feed from it (as the next change will render this useless anyway.) Update any pages with the new shortcode.
2) Edit /wp-content/plugins/gc-social-wall/GCSocialWall.php and add a die(); statement to the beginning of the getPostAJAX() function on (or near) line 162.
/** * Get posts from ajax arguments [AJAX] */ public function getPostsAJAX() { die(); ...
- The topic ‘CRITICAL Security Issue in Post Type Feed’ is closed to new replies.