CWE-94
Allowed-with-ReviewImproper 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.
8306 vulnerabilities reference this CWE, most recent first.
GHSA-VPH6-F2VH-WX72
Vulnerability from github – Published: 2022-05-01 07:14 – Updated: 2022-05-01 07:14Multiple PHP remote file inclusion vulnerabilities in (1) uhp_config.php, and possibly (2) footer.php, (3) functions.php, (4) install.uhp.php, (5) toolbar.uhp.html.php, (6) uhp.class.php, and (7) uninstall.uhp.php, in the UHP (User Home Pages) 0.5 component (aka com_uhp) for Mambo or Joomla! allow remote attackers to execute arbitrary PHP code via a URL in the mosConfig_absolute_path parameter.
{
"affected": [],
"aliases": [
"CVE-2006-3995"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2006-08-05T00:04:00Z",
"severity": "MODERATE"
},
"details": "Multiple PHP remote file inclusion vulnerabilities in (1) uhp_config.php, and possibly (2) footer.php, (3) functions.php, (4) install.uhp.php, (5) toolbar.uhp.html.php, (6) uhp.class.php, and (7) uninstall.uhp.php, in the UHP (User Home Pages) 0.5 component (aka com_uhp) for Mambo or Joomla! allow remote attackers to execute arbitrary PHP code via a URL in the mosConfig_absolute_path parameter.",
"id": "GHSA-vph6-f2vh-wx72",
"modified": "2022-05-01T07:14:33Z",
"published": "2022-05-01T07:14:33Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2006-3995"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/28080"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/33178"
},
{
"type": "WEB",
"url": "https://www.exploit-db.com/exploits/2089"
},
{
"type": "WEB",
"url": "https://www.exploit-db.com/exploits/3553"
},
{
"type": "WEB",
"url": "http://attrition.org/pipermail/vim/2007-March/001457.html"
},
{
"type": "WEB",
"url": "http://attrition.org/pipermail/vim/2007-March/001458.html"
},
{
"type": "WEB",
"url": "http://kurdishsecurity.blogspot.com/2006/07/kurdish-security-15-user-home-pges.html"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/21305"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/27651"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/27652"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/28111"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/28112"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/28113"
},
{
"type": "WEB",
"url": "http://www.ravenswoodit.co.uk/index.php?option=com_docman\u0026task=cat_view\u0026gid=76\u0026Itemid=13"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/19233"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/23113"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2006/3056"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-VPHF-HF77-V4W4
Vulnerability from github – Published: 2022-05-14 03:00 – Updated: 2022-05-14 03:00SAP BusinessObjects Business Intelligence Suite, versions 4.10 and 4.20, and SAP Crystal Reports (version for Visual Studio .NET, Version 2010) allows an attacker to inject code that can be executed by the application. An attacker could thereby control the behaviour of the application.
{
"affected": [],
"aliases": [
"CVE-2018-2427"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2018-07-10T18:29:00Z",
"severity": "HIGH"
},
"details": "SAP BusinessObjects Business Intelligence Suite, versions 4.10 and 4.20, and SAP Crystal Reports (version for Visual Studio .NET, Version 2010) allows an attacker to inject code that can be executed by the application. An attacker could thereby control the behaviour of the application.",
"id": "GHSA-vphf-hf77-v4w4",
"modified": "2022-05-14T03:00:58Z",
"published": "2022-05-14T03:00:58Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-2427"
},
{
"type": "WEB",
"url": "https://launchpad.support.sap.com/#/notes/2620738"
},
{
"type": "WEB",
"url": "https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=497256000"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/104715"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-VPR3-F594-MG5G
Vulnerability from github – Published: 2022-05-17 03:28 – Updated: 2024-03-14 21:28SpringSource Spring Framework 2.5.x before 2.5.6.SEC02, 2.5.7 before 2.5.7.SR01, and 3.0.x before 3.0.3 allows remote attackers to execute arbitrary code via an HTTP request containing class.classLoader.URLs[0]=jar: followed by a URL of a crafted .jar file.
{
"affected": [
{
"database_specific": {
"last_known_affected_version_range": "\u003c= 2.5.6"
},
"package": {
"ecosystem": "Maven",
"name": "org.springframework:spring"
},
"ranges": [
{
"events": [
{
"introduced": "2.5.0"
},
{
"fixed": "2.5.7"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"database_specific": {
"last_known_affected_version_range": "\u003c= 3.0.2"
},
"package": {
"ecosystem": "Maven",
"name": "org.springframework:spring"
},
"ranges": [
{
"events": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.0.3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2010-1622"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": true,
"github_reviewed_at": "2022-06-17T22:33:40Z",
"nvd_published_at": "2010-06-21T16:30:00Z",
"severity": "MODERATE"
},
"details": "SpringSource Spring Framework 2.5.x before 2.5.6.SEC02, 2.5.7 before 2.5.7.SR01, and 3.0.x before 3.0.3 allows remote attackers to execute arbitrary code via an HTTP request containing `class.classLoader.URLs[0]=jar:` followed by a URL of a crafted .jar file.",
"id": "GHSA-vpr3-f594-mg5g",
"modified": "2024-03-14T21:28:08Z",
"published": "2022-05-17T03:28:34Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2010-1622"
},
{
"type": "WEB",
"url": "https://github.com/spring-projects/spring-framework/commit/3a5af35d37c79d0644d49b93f792a4c18fe8eb71"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2011:0175"
},
{
"type": "WEB",
"url": "https://access.redhat.com/security/cve/CVE-2010-1622"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=606706"
},
{
"type": "PACKAGE",
"url": "https://github.com/spring-projects/spring-framework"
},
{
"type": "WEB",
"url": "https://seclists.org/fulldisclosure/2010/Jun/456"
},
{
"type": "WEB",
"url": "https://web.archive.org/web/20100623011648/http://www.springsource.com/security/cve-2010-1622"
},
{
"type": "WEB",
"url": "https://web.archive.org/web/20161014113129/http://www.securitytracker.com/id/1033898"
},
{
"type": "WEB",
"url": "https://web.archive.org/web/20200227210033/http://www.securityfocus.com/archive/1/511877"
},
{
"type": "WEB",
"url": "https://web.archive.org/web/20200228060816/http://www.securityfocus.com/bid/40954"
},
{
"type": "WEB",
"url": "http://geronimo.apache.org/2010/07/21/apache-geronimo-v216-released.html"
},
{
"type": "WEB",
"url": "http://geronimo.apache.org/21x-security-report.html"
},
{
"type": "WEB",
"url": "http://geronimo.apache.org/22x-security-report.html"
},
{
"type": "WEB",
"url": "http://www.exploit-db.com/exploits/13918"
},
{
"type": "WEB",
"url": "http://www.oracle.com/technetwork/topics/security/cpuoct2015-2367953.html"
},
{
"type": "WEB",
"url": "http://www.redhat.com/support/errata/RHSA-2011-0175.html"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "Improper Control of Generation of Code (\u0027Code Injection\u0027) in Spring Framework"
}
GHSA-VPV3-MGGC-9FWH
Vulnerability from github – Published: 2024-05-15 18:30 – Updated: 2024-05-15 18:30A local code execution vulnerability is possible in Telerik UI for WinForms beginning in v2021.1.122 but prior to v2024.2.514. This vulnerability could allow an untrusted theme assembly to execute arbitrary code on the local Windows system.
{
"affected": [],
"aliases": [
"CVE-2024-3892"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2024-05-15T17:15:14Z",
"severity": "HIGH"
},
"details": "A local code execution vulnerability is possible in Telerik UI for WinForms beginning in v2021.1.122 but prior to v2024.2.514. This vulnerability could allow an untrusted theme assembly to execute arbitrary code on the local Windows system.",
"id": "GHSA-vpv3-mggc-9fwh",
"modified": "2024-05-15T18:30:35Z",
"published": "2024-05-15T18:30:35Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-3892"
},
{
"type": "WEB",
"url": "https://docs.telerik.com/devtools/winforms/knowledge-base/local-code-execution-vulnerability-cve-2024-3892"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-VPW3-3PRF-3974
Vulnerability from github – Published: 2024-05-03 09:30 – Updated: 2025-02-13 19:00Improper Control of Generation of Code ('Code Injection') vulnerability in Apache Hive.
The vulnerability affects the Hive JDBC driver component and it can potentially lead to arbitrary code execution on the machine/endpoint that the JDBC driver (client) is running. The malicious user must have sufficient permissions to specify/edit JDBC URL(s) in an endpoint relying on the Hive JDBC driver and the JDBC client process must run under a privileged user to fully exploit the vulnerability.
The attacker can setup a malicious HTTP server and specify a JDBC URL pointing towards this server. When a JDBC connection is attempted, the malicious HTTP server can provide a special response with customized payload that can trigger the execution of certain commands in the JDBC client.This issue affects Apache Hive: from 4.0.0-alpha-1 before 4.0.0.
Users are recommended to upgrade to version 4.0.0, which fixes the issue.
{
"affected": [
{
"package": {
"ecosystem": "Maven",
"name": "org.apache.hive:hive-jdbc"
},
"ranges": [
{
"events": [
{
"introduced": "4.0.0-alpha-1"
},
{
"fixed": "4.0.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2023-35701"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": true,
"github_reviewed_at": "2024-05-03T20:27:25Z",
"nvd_published_at": "2024-05-03T09:15:07Z",
"severity": "MODERATE"
},
"details": "Improper Control of Generation of Code (\u0027Code Injection\u0027) vulnerability in Apache Hive.\n\nThe vulnerability affects the Hive JDBC driver component and it can potentially lead to arbitrary code execution on the machine/endpoint that the JDBC driver (client) is running. The malicious user must have sufficient permissions to specify/edit JDBC URL(s) in an endpoint relying on the Hive JDBC driver and the JDBC client process must run under a privileged user to fully exploit the vulnerability.\u00a0\n\nThe attacker can setup a malicious HTTP server and specify a JDBC URL pointing towards this server. When a JDBC connection is attempted, the malicious HTTP server can provide a special response with customized payload that can trigger the execution of certain commands in the JDBC client.This issue affects Apache Hive: from 4.0.0-alpha-1 before 4.0.0.\n\nUsers are recommended to upgrade to version 4.0.0, which fixes the issue.",
"id": "GHSA-vpw3-3prf-3974",
"modified": "2025-02-13T19:00:01Z",
"published": "2024-05-03T09:30:52Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-35701"
},
{
"type": "WEB",
"url": "https://github.com/apache/hive/commit/7abeb1df463cc389f668172e7cf3bb772799858a"
},
{
"type": "PACKAGE",
"url": "https://github.com/apache/hive"
},
{
"type": "WEB",
"url": "https://issues.apache.org/jira/browse/HIVE-27554"
},
{
"type": "WEB",
"url": "https://lists.apache.org/thread/7zcv6l63spl4r66xwz5jv9rtrg2opx81"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2024/05/03/3"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Apache Hive Code Injection vulnerability"
}
GHSA-VPXW-7PQQ-96GV
Vulnerability from github – Published: 2023-12-07 09:30 – Updated: 2023-12-11 18:30An issue in DARTS SHOP MAXIM mini-app on Line v13.6.1 allows attackers to send crafted malicious notifications via leakage of the channel access token.
{
"affected": [],
"aliases": [
"CVE-2023-43301"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2023-12-07T07:15:08Z",
"severity": "MODERATE"
},
"details": "An issue in DARTS SHOP MAXIM mini-app on Line v13.6.1 allows attackers to send crafted malicious notifications via leakage of the channel access token.",
"id": "GHSA-vpxw-7pqq-96gv",
"modified": "2023-12-11T18:30:31Z",
"published": "2023-12-07T09:30:43Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-43301"
},
{
"type": "WEB",
"url": "https://github.com/syz913/CVE-reports/blob/main/CVE-2023-43301.md"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
"type": "CVSS_V3"
}
]
}
GHSA-VQ2C-8M6J-G4VH
Vulnerability from github – Published: 2023-09-19 15:30 – Updated: 2025-10-22 00:32A vulnerability in the 3rd party AV uninstaller module contained in Trend Micro Apex One (on-prem and SaaS), Worry-Free Business Security and Worry-Free Business Security Services could allow an attacker to manipulate the module to execute arbitrary commands on an affected installation.
Note that an attacker must first obtain administrative console access on the target system in order to exploit this vulnerability.
{
"affected": [],
"aliases": [
"CVE-2023-41179"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2023-09-19T14:15:21Z",
"severity": "HIGH"
},
"details": "A vulnerability in the 3rd party AV uninstaller module contained in Trend Micro Apex One (on-prem and SaaS), Worry-Free Business Security and Worry-Free Business Security Services could allow an attacker to manipulate the module to execute arbitrary commands on an affected installation.\n\nNote that an attacker must first obtain administrative console access on the target system in order to exploit this vulnerability.",
"id": "GHSA-vq2c-8m6j-g4vh",
"modified": "2025-10-22T00:32:50Z",
"published": "2023-09-19T15:30:19Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-41179"
},
{
"type": "WEB",
"url": "https://jvn.jp/en/vu/JVNVU90967486"
},
{
"type": "WEB",
"url": "https://success.trendmicro.com/jp/solution/000294706"
},
{
"type": "WEB",
"url": "https://success.trendmicro.com/solution/000294994"
},
{
"type": "WEB",
"url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-41179"
}
],
"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-VQ54-G8XJ-79HW
Vulnerability from github – Published: 2022-05-17 05:52 – Updated: 2022-05-17 05:52Unrestricted file upload vulnerability in fckeditor251/editor/filemanager/connectors/asp/upload.asp in QuickerSite 1.8.5 allows remote attackers to execute arbitrary code by uploading a file with an executable extension, then accessing it via a direct request to the file.
{
"affected": [],
"aliases": [
"CVE-2008-6677"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2009-04-08T10:30:00Z",
"severity": "HIGH"
},
"details": "Unrestricted file upload vulnerability in fckeditor251/editor/filemanager/connectors/asp/upload.asp in QuickerSite 1.8.5 allows remote attackers to execute arbitrary code by uploading a file with an executable extension, then accessing it via a direct request to the file.",
"id": "GHSA-vq54-g8xj-79hw",
"modified": "2022-05-17T05:52:45Z",
"published": "2022-05-17T05:52:45Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-6677"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/30501"
},
{
"type": "WEB",
"url": "http://www.bugreport.ir/39/exploit.htm"
},
{
"type": "WEB",
"url": "http://www.bugreport.ir/index_39.htm"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/29524"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-VQ9V-44RG-M34M
Vulnerability from github – Published: 2022-05-01 23:55 – Updated: 2024-02-09 00:31Mozilla Firefox 3 before 3.0.1 on Mac OS X allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted GIF file that triggers a free of an uninitialized pointer.
{
"affected": [],
"aliases": [
"CVE-2008-2934"
],
"database_specific": {
"cwe_ids": [
"CWE-908",
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2008-07-18T16:41:00Z",
"severity": "MODERATE"
},
"details": "Mozilla Firefox 3 before 3.0.1 on Mac OS X allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via a crafted GIF file that triggers a free of an uninitialized pointer.",
"id": "GHSA-vq9v-44rg-m34m",
"modified": "2024-02-09T00:31:33Z",
"published": "2022-05-01T23:55:01Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-2934"
},
{
"type": "WEB",
"url": "https://bugzilla.mozilla.org/show_bug.cgi?id=441360"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/43850"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/31132"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/31270"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/34501"
},
{
"type": "WEB",
"url": "http://securitytracker.com/id?1020516"
},
{
"type": "WEB",
"url": "http://sunsolve.sun.com/search/document.do?assetkey=1-26-256408-1"
},
{
"type": "WEB",
"url": "http://www.mozilla.org/security/announce/2008/mfsa2008-36.html"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/30266"
},
{
"type": "WEB",
"url": "http://www.ubuntu.com/usn/usn-626-1"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2008/2125"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2009/0977"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-VQCM-R62W-W437
Vulnerability from github – Published: 2022-05-14 02:55 – Updated: 2024-01-15 17:52libraries/auth/swekey/swekey.auth.lib.php in the Swekey authentication feature in phpMyAdmin 3.x before 3.3.10.2 and 3.4.x before 3.4.3.1 assigns values to arbitrary parameters referenced in the query string, which allows remote attackers to modify the SESSION superglobal array via a crafted request, related to a "remote variable manipulation vulnerability."
{
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "phpmyadmin/phpmyadmin"
},
"ranges": [
{
"events": [
{
"introduced": "3.0"
},
{
"fixed": "3.3.10.2"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Packagist",
"name": "phpmyadmin/phpmyadmin"
},
"ranges": [
{
"events": [
{
"introduced": "3.4"
},
{
"fixed": "3.4.3.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2011-2505"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": true,
"github_reviewed_at": "2024-01-15T17:52:40Z",
"nvd_published_at": "2011-07-14T23:55:00Z",
"severity": "MODERATE"
},
"details": "`libraries/auth/swekey/swekey.auth.lib.php` in the Swekey authentication feature in phpMyAdmin 3.x before 3.3.10.2 and 3.4.x before 3.4.3.1 assigns values to arbitrary parameters referenced in the query string, which allows remote attackers to modify the `SESSION` superglobal array via a crafted request, related to a \"remote variable manipulation vulnerability.\"",
"id": "GHSA-vqcm-r62w-w437",
"modified": "2024-01-15T17:52:40Z",
"published": "2022-05-14T02:55:16Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2011-2505"
},
{
"type": "WEB",
"url": "https://github.com/phpmyadmin/composer/commit/7ebd958b2bf59f96fecd5b3322bdbd0b244a7967"
},
{
"type": "WEB",
"url": "https://github.com/phpmyadmin/phpmyadmin/commit/6e6e129f26295c83d67b74e202628a4b8bc49e54"
},
{
"type": "WEB",
"url": "https://github.com/phpmyadmin/phpmyadmin/commit/7ebd958b2bf59f96fecd5b3322bdbd0b244a7967"
},
{
"type": "PACKAGE",
"url": "https://github.com/phpmyadmin/composer"
},
{
"type": "WEB",
"url": "https://web.archive.org/web/20110712103138/http://www.xxor.se/advisories/phpMyAdmin_3.x_Multiple_Remote_Code_Executions.txt"
},
{
"type": "WEB",
"url": "https://web.archive.org/web/20111116172111/http://www.securityfocus.com/archive/1/518804/100/0/threaded"
},
{
"type": "WEB",
"url": "https://web.archive.org/web/20121105034518/http://www.mandriva.com/en/support/security/advisories?name=MDVSA-2011:124"
},
{
"type": "WEB",
"url": "http://ha.xxor.se/2011/07/phpmyadmin-3x-multiple-remote-code.html"
},
{
"type": "WEB",
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062719.html"
},
{
"type": "WEB",
"url": "http://securityreason.com/securityalert/8306"
},
{
"type": "WEB",
"url": "http://typo3.org/teams/security/security-bulletins/typo3-sa-2011-008"
},
{
"type": "WEB",
"url": "http://www.debian.org/security/2011/dsa-2286"
},
{
"type": "WEB",
"url": "http://www.exploit-db.com/exploits/17514"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2011/06/28/2"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2011/06/28/6"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2011/06/28/8"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2011/06/29/11"
},
{
"type": "WEB",
"url": "http://www.phpmyadmin.net/home_page/security/PMASA-2011-5.php"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "phpMyAdmin remote variable manipulation"
}
Mitigation
Strategy: Refactoring
Refactor your program so that you do not have to dynamically generate code.
Mitigation
- 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
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
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
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
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
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.