what you don't know can hurt you

GetSimple CMS 3.3.4 XML External Entity Injection

GetSimple CMS 3.3.4 XML External Entity Injection
Posted Dec 31, 2014
Authored by EgiX

GetSimple CMS versions 3.1.1 through 3.3.4 suffer from an XML external entity injection vulnerability.

tags | exploit, xxe
advisories | CVE-2014-8790
MD5 | b8ab5de12acbf7ab9f48c19dcb966947

GetSimple CMS 3.3.4 XML External Entity Injection

Change Mirror Download
------------------------------------------------------------------
GetSimple CMS <= 3.3.4 (api.php) XML External Entity Vulnerability
------------------------------------------------------------------


[-] Software Link:

http://get-simple.info/


[-] Affected Versions:

All versions from 3.1.1 to 3.3.4.


[-] Vulnerability Description:

The vulnerable code is located in the /admin/api.php script:

22. #step 2 - setup request
23. $in = simplexml_load_string($_POST['data'], 'SimpleXMLExtended', LIBXML_NOCDATA);
24. $request = new API_Request();
25. $request->add_data($in);

User input passed via the "data" POST parameter is not properly sanitized before being used in a
call to the "simplexml_load_string()" function at line 23. This can be exploited to carry out XML
External Entity (XXE) attacks, resulting in arbitrary file disclosures. Successful exploitation
of this vulnerability requires the External API to be enabled from within the gsconfig.php file
and the application running on PHP before version 5.3.23 or 5.4.13.

NOTE: this vulnerability might be abused to disclose sensitive data stored in XML files, which
might allow attackers to bypass the authentication mechanism and access the administration
panel in order to achieve arbitrary PHP code execution.


[-] Solution:

Update to version 3.3.5 Beta 1 or disable the External API.


[-] Disclosure Timeline:

[22/10/2014] - First attempt to contact the vendor
[28/10/2014] - Issue reported to http://git.io/HEjBUg
[29/10/2014] - CVE number requested
[13/11/2014] - CVE number assigned
[02/12/2014] - Version 3.3.5 Beta 1 released
[31/12/2014] - Publication of this advisory


[-] CVE Reference:

The Common Vulnerabilities and Exposures project (cve.mitre.org)
has assigned the name CVE-2014-8790 to this vulnerability.


[-] Credits:

Vulnerability discovered by Egidio Romano.


[-] Original Advisory:

http://karmainsecurity.com/KIS-2014-17


Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2019

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close