Vulnerability ID: HTB22842
Reference: http://www.htbridge.ch/advisory/path_disclosure_in_comment_rating_wordpress_plugin.html
Product: Comment Rating wordpress plugin
Vendor: Bob King ( http://wealthynetizen.com/ )
Vulnerable Version: 2.9.23
Vendor Notification: 08 February 2011
Vulnerability Type: Path disclosure
Risk level: Low
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)
Vulnerability Details:
The vulnerability exists due to failure in the "/wp-content/plugins/comment-rating/comment-rating-options.php" script, it's possible to generate an error that will reveal the full path of the script.
A remote user can determine the full path to the web root directory and other potentially sensitive information.
The following PoC is available:
http://[host]/wp-content/plugins/comment-rating/comment-rating-options.php