AOH :: HP Unsorted S :: BT-21428.HTM

SlideShowPro Director File Disclosure Vulnerability



SlideShowPro Director File Disclosure Vulnerability
SlideShowPro Director File Disclosure Vulnerability



This is a cryptographically signed message in MIME format.

--------------ms000301000404000405040907
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

CSS09-01: SlideShowPro Director File Disclosure Vulnerability
August 5, 2009

*SUMMARY*
SlideShowPro Director is vulnerable to a file disclosure flaw because it
fails to perform proper validation and handling of input parameters.
Attackers can exploit this vulnerability to read arbitrary files from
the hosting web server.

AFFECTED SOFTWARE
SlideShowPro Director version 1.1 through 1.3.8.

SEVERITY RATING
Rating:  High Risk
Impact:  Unauthorized access to system files
Where:   Remote

SOFTWARE DESCRIPTION
SlideShowPro Director is a complement to SlideShowPro, =E2=80=9Ca web-based
component designed to be integrated into any web site =E2=80=A6 for displaying
photos and videos.=E2=80=9D Director is =E2=80=9Ca secure, easy to use application you
install on your own web server...for managing and updating your
slideshow content=E2=80=A6=E2=80=9D 
(http://slideshowpro.net/products/slideshowpro_director/slideshowpro_director) 

SOLUTION
The vendor has released version 1.3.9 to address this issue. Refer to
http://wiki.slideshowpro.net/SSPdir/UP-HowToUpgrade for upgrade 
instructions.

REFERENCES:
CVE number not yet assigned.
A copy of this bulletin is located at:
http://www.clearskies.net/documents/css-advisory-css09001-sspdirector.pdf 

TECHNICAL DETAILS
The =E2=80=9Cp.php=E2=80=9D file contains logic that is vulnerable to directory
traversal attacks. The =E2=80=9Ca=E2=80=9D parameter to this function includes a file
name parameter that can be changed to any value, including one
containing relative directory paths. The resulting file will be
retrieved and displayed.

The application incorporates scrambling/obfuscation techniques to mask
the vulnerable parameter that is supplied to the application. A
moderately skilled attacker can reverse the obfuscation without any
access to the affected server or source code.

IDENTIFYING VULNERABLE INSTALLATIONS
Vulnerable installations can be identified by the XML data file
generated by SlideShowPro Director and used by the SlideShowPro
component and will have base64-encoded =E2=80=9Ca=E2=80=9D parameters to the =E2=80=9Cp.php=E2=80=9D
function:


 

    lgPath="http://masked/ssp_director/p.php?a=""http://masked/ssp_director/p.php?a=""http://masked/ssp_director/p.php?a=XF9VXiEyPSoqQFtFPzU2JzM6Iys%2BPiYyKzM5LTM%2BMiU%2BJzE%3D&m=1247688172"> 
tn= tnPath
DETECTING EXPLOITATION
The affected parameter is only accepted as a =E2=80=9CGET=E2=80=9D variable. The web
server should therefore log any exploitation attempts if basic logging
of the query string is enabled. Identifying actual exploitation is
hindered, since the attacking parameter is scrambled, but the logic to
reverse this data can be extracted the application code and settings if
necessary. Web server error logs may also contain suspicious PHP file
access warnings if a file requested by an attacker is not present.

PROOF OF CONCEPT
A proof-of-concept tool to exploit this vulnerability that accommodates
the parameter scrambling for any site has been created but not
published. Note that even sites that have defined a custom =E2=80=9Ckey=E2=80=9D or
=E2=80=9Csalt=E2=80=9D for the scrambling routines are vulnerable.

IMPACT
This issue exposes the confidentiality of any files residing on the same
drive as the component including configuration files with system access
credentials, the source code to application pages, and possibly customer
data files.

THREAT EVALUATION
The issue can be exploited by anyone from the Internet. The ability to
identify/crack the scrambling key would require a moderately skilled
individual, although once the algorithm is published, exploiting the
issue is trivial. This vulnerability can be easily scripted and
automated, placing it within reach of any individual. An attacker must
know the name of desired files.

CREDITS
Scott Miles of Clear Skies Security identified this flaw.
Clear Skies would like to thank the vendor for their openness and
responsiveness in dealing with this issue.

TIME TABLE
2009-07-20: Vendor notified; confirmed vulnerability.
2009-07-22: Vendor provides patch.
2009-08-06: Public disclosure.

--
Scott Miles
Principal Consultant
Clear Skies Security




--------------ms000301000404000405040907
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIRSTCC
BN0wggPFoAMCAQICEHGS++YZX6xNEoV0cTSiGKcwDQYJKoZIhvcNAQEFBQAw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OH site is optimized to look best in Firefox® 3 on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH
We do not send spam. If you have received spam bearing an artofhacking.com email address, please forward it with full headers to abuse@artofhacking.com.