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:

March 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    13 Files
  • 3
    Mar 3rd
    15 Files
  • 4
    Mar 4th
    0 Files
  • 5
    Mar 5th
    0 Files
  • 6
    Mar 6th
    16 Files
  • 7
    Mar 7th
    31 Files
  • 8
    Mar 8th
    16 Files
  • 9
    Mar 9th
    13 Files
  • 10
    Mar 10th
    9 Files
  • 11
    Mar 11th
    0 Files
  • 12
    Mar 12th
    0 Files
  • 13
    Mar 13th
    10 Files
  • 14
    Mar 14th
    6 Files
  • 15
    Mar 15th
    17 Files
  • 16
    Mar 16th
    22 Files
  • 17
    Mar 17th
    13 Files
  • 18
    Mar 18th
    0 Files
  • 19
    Mar 19th
    0 Files
  • 20
    Mar 20th
    16 Files
  • 21
    Mar 21st
    0 Files
  • 22
    Mar 22nd
    0 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    0 Files
  • 26
    Mar 26th
    0 Files
  • 27
    Mar 27th
    0 Files
  • 28
    Mar 28th
    0 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 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