Common Weakness Enumeration

CWE-94

Allowed-with-Review

Improper Control of Generation of Code ('Code Injection')

Abstraction: Base · Status: Draft

The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

8339 vulnerabilities reference this CWE, most recent first.

GHSA-QMFC-6WWW-FJQW

Vulnerability from github – Published: 2022-03-18 17:57 – Updated: 2022-03-18 17:57
VLAI
Summary
Code injection in Apache Dubbo
Details

Apache Dubbo prior to 2.6.9 and 2.7.10 supports Script routing which will enable a customer to route the request to the right server. These rules are used by the customers when making a request in order to find the right endpoint. When parsing these rules, Dubbo customers use ScriptEngine and run the rule provided by the script which by default may enable executing arbitrary code.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "Maven",
        "name": "com.alibaba:dubbo"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.5.0"
            },
            {
              "fixed": "2.6.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Maven",
        "name": "org.apache.dubbo:dubbo"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.5.0"
            },
            {
              "fixed": "2.7.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2021-30181"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2021-06-02T20:15:20Z",
    "nvd_published_at": "2021-06-01T14:15:00Z",
    "severity": "CRITICAL"
  },
  "details": "Apache Dubbo prior to 2.6.9 and 2.7.10 supports Script routing which will enable a customer to route the request to the right server. These rules are used by the customers when making a request in order to find the right endpoint. When parsing these rules, Dubbo customers use ScriptEngine and run the rule provided by the script which by default may enable executing arbitrary code.",
  "id": "GHSA-qmfc-6www-fjqw",
  "modified": "2022-03-18T17:57:04Z",
  "published": "2022-03-18T17:57:04Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-30181"
    },
    {
      "type": "WEB",
      "url": "https://lists.apache.org/thread.html/re22410dc704a09bc7032ddf15140cf5e7df3e8ece390fc9032ff5587%40%3Cdev.dubbo.apache.org%3E"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Code injection in Apache Dubbo"
}

GHSA-QMG3-7X6P-P6C6

Vulnerability from github – Published: 2022-05-01 07:24 – Updated: 2022-05-01 07:24
VLAI
Details

PHP remote file inclusion vulnerability in include.php in Comdev CSV Importer 3.1 and possibly 4.1, as used in (1) Comdev Contact Form 3.1, (2) Comdev Customer Helpdesk 3.1, (3) Comdev Events Calendar 3.1, (4) Comdev FAQ Support 3.1, (5) Comdev Guestbook 3.1, (6) Comdev Links Directory 3.1, (7) Comdev News Publisher 3.1, (8) Comdev Newsletter 3.1, (9) Comdev Photo Gallery 3.1, (10) Comdev Vote Caster 3.1, (11) Comdev Web Blogger 3.1, and (12) Comdev eCommerce 3.1, allows remote attackers to execute arbitrary PHP code via a URL in the path[docroot] parameter. NOTE: it has been reported that 4.1 versions might also be affected.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2006-5101"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2006-10-03T04:03:00Z",
    "severity": "HIGH"
  },
  "details": "PHP remote file inclusion vulnerability in include.php in Comdev CSV Importer 3.1 and possibly 4.1, as used in (1) Comdev Contact Form 3.1, (2) Comdev Customer Helpdesk 3.1, (3) Comdev Events Calendar 3.1, (4) Comdev FAQ Support 3.1, (5) Comdev Guestbook 3.1, (6) Comdev Links Directory 3.1, (7) Comdev News Publisher 3.1, (8) Comdev Newsletter 3.1, (9) Comdev Photo Gallery 3.1, (10) Comdev Vote Caster 3.1, (11) Comdev Web Blogger 3.1, and (12) Comdev eCommerce 3.1, allows remote attackers to execute arbitrary PHP code via a URL in the path[docroot] parameter.  NOTE: it has been reported that 4.1 versions might also be affected.",
  "id": "GHSA-qmg3-7x6p-p6c6",
  "modified": "2022-05-01T07:24:59Z",
  "published": "2022-05-01T07:24:59Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2006-5101"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/29220"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/22133"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/22134"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/22135"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/22147"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/22149"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/22151"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/22153"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/22154"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/22157"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/22168"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/22169"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/22170"
    },
    {
      "type": "WEB",
      "url": "http://securityreason.com/securityalert/1658"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/29299"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/29300"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/29301"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/29302"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/29303"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/29304"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/29305"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/29306"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/29307"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/29308"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/29309"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/29310"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/29311"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/447184/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/447185/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/447186/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/447187/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/447188/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/447190/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/447192/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/447193/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/447194/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/447201/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/447207/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/447209/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/447213/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2006/3803"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2006/3804"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2006/3805"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2006/3806"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2006/3807"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2006/3808"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2006/3809"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2006/3810"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2006/3811"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2006/3812"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2006/3813"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2006/3814"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2006/3815"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-QMG5-RX6W-H4H5

Vulnerability from github – Published: 2022-05-01 18:37 – Updated: 2022-05-01 18:37
VLAI
Details

Directory traversal vulnerability in error.php in GuppY 4.6.3, 4.5.16, and earlier allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the id parameter. NOTE: this can be leveraged to bypass authentication and upload arbitrary files by including admin/inc/upload.inc and specifying certain multipart/form-data input for admin/inc/upload.inc.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2007-5845"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2007-11-06T21:46:00Z",
    "severity": "HIGH"
  },
  "details": "Directory traversal vulnerability in error.php in GuppY 4.6.3, 4.5.16, and earlier allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the id parameter.  NOTE: this can be leveraged to bypass authentication and upload arbitrary files by including admin/inc/upload.inc and specifying certain multipart/form-data input for admin/inc/upload.inc.",
  "id": "GHSA-qmg5-rx6w-h4h5",
  "modified": "2022-05-01T18:37:11Z",
  "published": "2022-05-01T18:37:11Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2007-5845"
    },
    {
      "type": "WEB",
      "url": "https://www.exploit-db.com/exploits/3221"
    },
    {
      "type": "WEB",
      "url": "https://www.exploit-db.com/exploits/4602"
    },
    {
      "type": "WEB",
      "url": "http://osvdb.org/38492"
    },
    {
      "type": "WEB",
      "url": "http://retrogod.altervista.org/guppy_4516_cmd.html"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-QMPC-FMQ6-GF8J

Vulnerability from github – Published: 2022-05-24 19:14 – Updated: 2022-05-24 19:14
VLAI
Details

playSMS before 1.4.5 allows Arbitrary Code Execution by entering PHP code at the #tabs-information-page of core_main_config, and then executing that code via the index.php?app=main&inc=core_welcome URI.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2021-40373"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2021-09-10T14:15:00Z",
    "severity": "CRITICAL"
  },
  "details": "playSMS before 1.4.5 allows Arbitrary Code Execution by entering PHP code at the #tabs-information-page of core_main_config, and then executing that code via the index.php?app=main\u0026inc=core_welcome URI.",
  "id": "GHSA-qmpc-fmq6-gf8j",
  "modified": "2022-05-24T19:14:09Z",
  "published": "2022-05-24T19:14:09Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-40373"
    },
    {
      "type": "WEB",
      "url": "https://github.com/maikroservice/CVE-2021-40373"
    },
    {
      "type": "WEB",
      "url": "https://playsms.org/2021/09/04/playsms-1-4-5-released"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-QMV3-76VC-754W

Vulnerability from github – Published: 2023-10-16 21:30 – Updated: 2024-04-04 08:41
VLAI
Details

The File Manager Pro WordPress plugin before 1.8.1 allows admin users to upload arbitrary files, even in environments where such a user should not be able to gain full control of the server, such as a multisite installation. This leads to remote code execution.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2023-4861"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2023-10-16T20:15:17Z",
    "severity": "HIGH"
  },
  "details": "The File Manager Pro WordPress plugin before 1.8.1 allows admin users to upload arbitrary files, even in environments where such a user should not be able to gain full control of the server, such as a multisite installation. This leads to remote code execution.",
  "id": "GHSA-qmv3-76vc-754w",
  "modified": "2024-04-04T08:41:51Z",
  "published": "2023-10-16T21:30:27Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-4861"
    },
    {
      "type": "WEB",
      "url": "https://wpscan.com/vulnerability/7fa03f00-25c7-4e40-8592-bb4001ce019d"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-QMVC-4GRF-PJ3W

Vulnerability from github – Published: 2022-05-17 04:42 – Updated: 2025-04-12 12:34
VLAI
Details

Samsung iPOLiS Device Manager before 1.8.7 allow remote attackers to execute arbitrary code via unspecified values to the (1) Start, (2) ChangeControlLocalName, (3) DeleteDeviceProfile, (4) FrameAdvanceReader, or other unknown method in the XNSSDKDEVICE.XnsSdkDeviceCtrlForIpInstaller.1 ActiveX control.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2014-3911"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2014-06-11T14:55:00Z",
    "severity": "HIGH"
  },
  "details": "Samsung iPOLiS Device Manager before 1.8.7 allow remote attackers to execute arbitrary code via unspecified values to the (1) Start, (2) ChangeControlLocalName, (3) DeleteDeviceProfile, (4) FrameAdvanceReader, or other unknown method in the XNSSDKDEVICE.XnsSdkDeviceCtrlForIpInstaller.1 ActiveX control.",
  "id": "GHSA-qmvc-4grf-pj3w",
  "modified": "2025-04-12T12:34:48Z",
  "published": "2022-05-17T04:42:21Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-3911"
    },
    {
      "type": "WEB",
      "url": "http://update.websamsung.net/Tools/iPOLiS%20Device%20Manager/iPOLiS%20Device%20Manager_v1.8.7_setup_Full.zip"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/67822"
    },
    {
      "type": "WEB",
      "url": "http://www.zerodayinitiative.com/advisories/ZDI-14-167"
    },
    {
      "type": "WEB",
      "url": "http://www.zerodayinitiative.com/advisories/ZDI-14-168"
    },
    {
      "type": "WEB",
      "url": "http://www.zerodayinitiative.com/advisories/ZDI-14-170"
    },
    {
      "type": "WEB",
      "url": "http://www.zerodayinitiative.com/advisories/ZDI-14-171"
    },
    {
      "type": "WEB",
      "url": "http://www.zerodayinitiative.com/advisories/ZDI-14-172"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-QMXQ-RH22-GXP8

Vulnerability from github – Published: 2022-05-17 01:49 – Updated: 2024-01-21 03:30
VLAI
Details

TikiWiki CMS/Groupware before 6.7 LTS and before 8.4 allows remote attackers to execute arbitrary PHP code via a crafted serialized object in the (1) cookieName to lib/banners/bannerlib.php; (2) printpages or (3) printstructures parameter to (a) tiki-print_multi_pages.php or (b) tiki-print_pages.php; or (4) sendpages, (5) sendstructures, or (6) sendarticles parameter to tiki-send_objects.php, which is not properly handled when processed by the unserialize function.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2012-0911"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-502",
      "CWE-94"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2012-07-12T19:55:00Z",
    "severity": "HIGH"
  },
  "details": "TikiWiki CMS/Groupware before 6.7 LTS and before 8.4 allows remote attackers to execute arbitrary PHP code via a crafted serialized object in the (1) cookieName to lib/banners/bannerlib.php; (2) printpages or (3) printstructures parameter to (a) tiki-print_multi_pages.php or (b) tiki-print_pages.php; or (4) sendpages, (5) sendstructures, or (6) sendarticles parameter to tiki-send_objects.php, which is not properly handled when processed by the unserialize function.",
  "id": "GHSA-qmxq-rh22-gxp8",
  "modified": "2024-01-21T03:30:25Z",
  "published": "2022-05-17T01:49:38Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-0911"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/76758"
    },
    {
      "type": "WEB",
      "url": "http://archives.neohapsis.com/archives/bugtraq/2012-07/0020.html"
    },
    {
      "type": "WEB",
      "url": "http://dev.tiki.org/item4109"
    },
    {
      "type": "WEB",
      "url": "http://info.tiki.org/article190-Tiki-Wiki-CMS-Groupware-Updates-Tiki-6-7-LTS"
    },
    {
      "type": "WEB",
      "url": "http://info.tiki.org/article191-Tiki-Releases-8-4"
    },
    {
      "type": "WEB",
      "url": "http://osvdb.org/83534"
    },
    {
      "type": "WEB",
      "url": "http://www.exploit-db.com/exploits/19573"
    },
    {
      "type": "WEB",
      "url": "http://www.exploit-db.com/exploits/19630"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/54298"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-QP3J-RXH4-Q4H8

Vulnerability from github – Published: 2025-02-04 15:31 – Updated: 2025-11-03 21:32
VLAI
Details

A bug in WebAssembly code generation could have lead to a crash. It may have been possible for an attacker to leverage this to achieve code execution. This vulnerability affects Firefox < 135, Firefox ESR < 128.7, Thunderbird < 128.7, and Thunderbird < 135.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2025-1011"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-02-04T14:15:31Z",
    "severity": "CRITICAL"
  },
  "details": "A bug in WebAssembly code generation could have lead to a crash. It may have been possible for an attacker to leverage this to achieve code execution. This vulnerability affects Firefox \u003c 135, Firefox ESR \u003c 128.7, Thunderbird \u003c 128.7, and Thunderbird \u003c 135.",
  "id": "GHSA-qp3j-rxh4-q4h8",
  "modified": "2025-11-03T21:32:33Z",
  "published": "2025-02-04T15:31:36Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-1011"
    },
    {
      "type": "WEB",
      "url": "https://bugzilla.mozilla.org/show_bug.cgi?id=1936454"
    },
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2025/02/msg00005.html"
    },
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2025/02/msg00006.html"
    },
    {
      "type": "WEB",
      "url": "https://www.mozilla.org/security/advisories/mfsa2025-07"
    },
    {
      "type": "WEB",
      "url": "https://www.mozilla.org/security/advisories/mfsa2025-09"
    },
    {
      "type": "WEB",
      "url": "https://www.mozilla.org/security/advisories/mfsa2025-10"
    },
    {
      "type": "WEB",
      "url": "https://www.mozilla.org/security/advisories/mfsa2025-11"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-QP43-2VHF-CJ8G

Vulnerability from github – Published: 2022-05-24 17:00 – Updated: 2024-01-10 21:36
VLAI
Summary
Magento Remote code execution through support/output path modification
Details

In Magento Open Source prior to 1.9.4.3, and Magento Commerce prior to 1.14.4.3, an authenticated user with administrative privileges to edit configuration settings can execute arbitrary code through a crafted support/output path.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "magento/core"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.9.4.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2019-8230"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2024-01-10T21:36:04Z",
    "nvd_published_at": "2019-11-06T00:15:00Z",
    "severity": "HIGH"
  },
  "details": "In Magento Open Source prior to 1.9.4.3, and Magento Commerce prior to 1.14.4.3, an authenticated user with administrative privileges to edit configuration settings can execute arbitrary code through a crafted support/output path.",
  "id": "GHSA-qp43-2vhf-cj8g",
  "modified": "2024-01-10T21:36:04Z",
  "published": "2022-05-24T17:00:29Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-8230"
    },
    {
      "type": "WEB",
      "url": "https://magento.com/security/patches/supee-11219"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Magento Remote code execution through support/output path modification"
}

GHSA-QP48-H4FC-MV87

Vulnerability from github – Published: 2022-05-03 03:18 – Updated: 2022-05-03 03:18
VLAI
Details

PHP remote file inclusion vulnerability in admin/business_inc/saveserver.php in SWSoft Confixx Pro 2.0.12 through 3.3.1 allows remote attackers to execute arbitrary PHP code via a URL in the thisdir parameter.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2007-4009"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2007-07-26T00:30:00Z",
    "severity": "HIGH"
  },
  "details": "PHP remote file inclusion vulnerability in admin/business_inc/saveserver.php in SWSoft Confixx Pro 2.0.12 through 3.3.1 allows remote attackers to execute arbitrary PHP code via a URL in the thisdir parameter.",
  "id": "GHSA-qp48-h4fc-mv87",
  "modified": "2022-05-03T03:18:22Z",
  "published": "2022-05-03T03:18:22Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2007-4009"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/35586"
    },
    {
      "type": "WEB",
      "url": "https://www.exploit-db.com/exploits/4219"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/26300"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/25036"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2007/2743"
    },
    {
      "type": "WEB",
      "url": "http://xpkzxc.com/exploits/confixx.txt"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

Mitigation
Architecture and Design

Strategy: Refactoring

Refactor your program so that you do not have to dynamically generate code.

Mitigation
Architecture and Design
  • Run your code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which code can be executed by your product.
  • Examples include the Unix chroot jail and AppArmor. In general, managed code may provide some protection.
  • This may not be a feasible solution, and it only limits the impact to the operating system; the rest of your application may still be subject to compromise.
  • Be careful to avoid CWE-243 and other weaknesses related to jails.
Mitigation MIT-5
Implementation

Strategy: Input Validation

  • Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
  • When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as "red" or "blue."
  • Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.
  • To reduce the likelihood of code injection, use stringent allowlists that limit which constructs are allowed. If you are dynamically constructing code that invokes a function, then verifying that the input is alphanumeric might be insufficient. An attacker might still be able to reference a dangerous function that you did not intend to allow, such as system(), exec(), or exit().
Mitigation
Testing

Use dynamic tools and techniques that interact with the product using large test suites with many diverse inputs, such as fuzz testing (fuzzing), robustness testing, and fault injection. The product's operation may slow down, but it should not become unstable, crash, or generate incorrect results.

Mitigation MIT-32
Operation

Strategy: Compilation or Build Hardening

Run the code in an environment that performs automatic taint propagation and prevents any command execution that uses tainted variables, such as Perl's "-T" switch. This will force the program to perform validation steps that remove the taint, although you must be careful to correctly validate your inputs so that you do not accidentally mark dangerous inputs as untainted (see CWE-183 and CWE-184).

Mitigation MIT-32
Operation

Strategy: Environment Hardening

Run the code in an environment that performs automatic taint propagation and prevents any command execution that uses tainted variables, such as Perl's "-T" switch. This will force the program to perform validation steps that remove the taint, although you must be careful to correctly validate your inputs so that you do not accidentally mark dangerous inputs as untainted (see CWE-183 and CWE-184).

Mitigation
Implementation

For Python programs, it is frequently encouraged to use the ast.literal_eval() function instead of eval, since it is intentionally designed to avoid executing code. However, an adversary could still cause excessive memory or stack consumption via deeply nested structures [REF-1372], so the python documentation discourages use of ast.literal_eval() on untrusted data [REF-1373].

CAPEC-242: Code Injection

An adversary exploits a weakness in input validation on the target to inject new code into that which is currently executing. This differs from code inclusion in that code inclusion involves the addition or replacement of a reference to a code file, which is subsequently loaded by the target and used as part of the code of some application.

CAPEC-35: Leverage Executable Code in Non-Executable Files

An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.

CAPEC-77: Manipulating User-Controlled Variables

This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An adversary can override variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the adversary can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.