exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

CakePHP / Squiz CMS XXE Injection

CakePHP / Squiz CMS XXE Injection
Posted Aug 12, 2012
Authored by MustLive

CakePHP and Squiz CMS suffer from XXE injection vulnerabilities.

tags | exploit, vulnerability, xxe
SHA-256 | 961339f6ca18d70df5c08cf52ba52dcf3e959a21197fa995450430621e4c7f3f

CakePHP / Squiz CMS XXE Injection

Change Mirror Download
Hello!

I'll give you additional information concerning advisories CakePHP
2.x-2.2.0-RC2 XXE Injection (http://securityvulns.ru/docs28331.html) and
Squiz CMS Multiple Vulnerabilities (http://securityvulns.ru/docs28220.html).
It's about XXE Injection in CakePHP and Squiz CMS.

Similarly to earlier mentioned by me XXE Injection vulnerabilities in Zend
Framework and multiple Adobe products, in case of CakePHP and Squiz CMS it's
also possible to conduct attacks on other sites. CakePHP uses PHP SimpleXML
similarly as Zend Framework, so it's vulnerable to the same XXE Injection.
And in CakePHP advisory it's only mentioned about local file inclusion
attack vector, which is the most significant one. And in Squiz CMS advisory
it's also not mentioned about attack on other sites (only demonstrated PoC
for port scanning).

So I'll supplement advisories of Pawel Wylecial and Sense of Security, and
will bring your attention to another attack vector. Because I think that
this attack vector is also important.

I've wrote in my July's article "Using XML External Entities (XXE) for
attacks on other sites", which I've announced last week in WASC Mailing List
(http://lists.webappsec.org/pipermail/websecurity_lists.webappsec.org/2012-August/008481.html),
that XXE vulnerabilities could be used for attacks on other sites. Similarly
as Abuse of Functionality and Remote File Include holes, about which I've
wrote in my 2010's article "Using of the sites for attacks on other sites"
(http://lists.grok.org.uk/pipermail/full-disclosure/2010-June/075384.html).
So in similar way XXE vulnerabilities can be used for conducting CSRF and
DoS attacks on other sites (and at using of multiple web sites it's possible
to conduct DDoS attacks). And in article "DDoS attacks via other sites
execution tool (DAVOSET)"
(http://lists.grok.org.uk/pipermail/full-disclosure/2010-July/075622.html)
I've described efficiency of such attacks and the tool for their automation.

XXE (WASC-43):

For the attack it's needed to send the next XML data in POST request.

PoC for CakePHP:

<!DOCTYPE cakephp [
<!ENTITY xxe SYSTEM "http://site/page" >]>
<request>
<xxe>&xxe;</xxe>
</request>

PoC for Squiz CMS:

<!DOCTYPE scan [
<!ENTITY xxe SYSTEM "http://site/page">]>
<scan>&xxe;</scan>

In total we have a lot of web applications and millions of web sites, which
can be used for attacks on other sites via different vulnerabilities (AoF,
RFI, XXE). So web developers also should draw attention to this attack
vector.

Best wishes & regards,
MustLive
Administrator of Websecurity web site
http://websecurity.com.ua

Login or Register to add favorites

File Archive:

August 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    15 Files
  • 2
    Aug 2nd
    22 Files
  • 3
    Aug 3rd
    0 Files
  • 4
    Aug 4th
    0 Files
  • 5
    Aug 5th
    15 Files
  • 6
    Aug 6th
    11 Files
  • 7
    Aug 7th
    43 Files
  • 8
    Aug 8th
    42 Files
  • 9
    Aug 9th
    36 Files
  • 10
    Aug 10th
    0 Files
  • 11
    Aug 11th
    0 Files
  • 12
    Aug 12th
    27 Files
  • 13
    Aug 13th
    0 Files
  • 14
    Aug 14th
    0 Files
  • 15
    Aug 15th
    0 Files
  • 16
    Aug 16th
    0 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close