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.
8358 vulnerabilities reference this CWE, most recent first.
GHSA-48G7-3X6R-XFHP
Vulnerability from github – Published: 2025-03-11 20:07 – Updated: 2026-06-06 00:30Impact
The Keras Model.load_model function permits arbitrary code execution, even with safe_mode=True, through a manually constructed, malicious .keras archive. By altering the config.json file within the archive, an attacker can specify arbitrary Python modules and functions, along with their arguments, to be loaded and executed during model loading.
Patches
This problem is fixed starting with version 3.9.
Workarounds
Only load models from trusted sources and model archives created with Keras.
References
- https://www.cve.org/cverecord?id=CVE-2025-1550
- https://github.com/keras-team/keras/pull/20751
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "keras"
},
"ranges": [
{
"events": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.9.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2025-1550"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": true,
"github_reviewed_at": "2025-03-11T20:07:32Z",
"nvd_published_at": null,
"severity": "HIGH"
},
"details": "### Impact\n\nThe Keras `Model.load_model` function permits arbitrary code execution, even with `safe_mode=True`, through a manually constructed, malicious `.keras` archive. By altering the `config.json` file within the archive, an attacker can specify arbitrary Python modules and functions, along with their arguments, to be loaded and executed during model loading.\n\n### Patches\n\nThis problem is fixed starting with version `3.9`.\n\n### Workarounds\n\nOnly load models from trusted sources and model archives created with Keras.\n\n### References\n\n- https://www.cve.org/cverecord?id=CVE-2025-1550\n- https://github.com/keras-team/keras/pull/20751",
"id": "GHSA-48g7-3x6r-xfhp",
"modified": "2026-06-06T00:30:36Z",
"published": "2025-03-11T20:07:32Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/keras-team/keras/security/advisories/GHSA-48g7-3x6r-xfhp"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-1550"
},
{
"type": "WEB",
"url": "https://github.com/keras-team/keras/pull/20751"
},
{
"type": "WEB",
"url": "https://github.com/keras-team/keras/commit/e67ac8ffd0c883bec68eb65bb52340c7f9d3a903"
},
{
"type": "PACKAGE",
"url": "https://github.com/keras-team/keras"
},
{
"type": "WEB",
"url": "https://github.com/keras-team/keras/releases/tag/v3.9.0"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/keras/PYSEC-2025-122.yaml"
},
{
"type": "WEB",
"url": "https://towerofhanoi.it/writeups/cve-2025-1550"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H",
"type": "CVSS_V4"
}
],
"summary": "Arbitrary Code Execution via Crafted Keras Config for Model Loading"
}
GHSA-48G7-CMC5-V387
Vulnerability from github – Published: 2022-05-01 17:57 – Updated: 2022-05-01 17:57Multiple PHP remote file inclusion vulnerabilities in Kaqoo Auction Software Free Edition allow remote attackers to execute arbitrary PHP code via a URL in the install_root parameter to (1) support.inc.php, (2) function.inc.php, (3) rdal_object.inc.php, (4) rdal_editor.inc.php. (5) login.inc.php, (6) request.inc.php, and (7) categories.inc.php in include/core/; (8) save.inc.php, (9) preview.inc.php, (10) edit_item.inc.php, (11) new_item.inc.php, and (12) item_info.inc.php in include/display/item/; (13) search.inc.php, (14) item_edit.inc.php, (15) register_succsess.inc.php, (16) context_menu.inc.php, (17) item_repost.inc.php, (18) balance.inc.php, (19) featured.inc.php, (20) user.inc.php, (21) buynow.inc.php, (22) install_complete.inc.php, (23) fees_info.inc.php, (24) user_feedback.inc.php, (25) admin_balance.inc.php, (26) activate.inc.php, (27) user_info.inc.php, (28) member.inc.php, (29) add_bid.inc.php, (30) items_filter.inc.php, (31) my_info.inc.php, (32) register.inc.php, (33) leave_feedback.inc.php, and (34) user_auctions.inc.php in include/display/; and (35) design/form.inc.php, (36) processor.inc.php, (37) interfaces.inc.php (38) left_menu.inc.php, (39) login.inc.php, and (40) categories.inc.php in include/.
{
"affected": [],
"aliases": [
"CVE-2007-1790"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2007-03-31T10:19:00Z",
"severity": "MODERATE"
},
"details": "Multiple PHP remote file inclusion vulnerabilities in Kaqoo Auction Software Free Edition allow remote attackers to execute arbitrary PHP code via a URL in the install_root parameter to (1) support.inc.php, (2) function.inc.php, (3) rdal_object.inc.php, (4) rdal_editor.inc.php. (5) login.inc.php, (6) request.inc.php, and (7) categories.inc.php in include/core/; (8) save.inc.php, (9) preview.inc.php, (10) edit_item.inc.php, (11) new_item.inc.php, and (12) item_info.inc.php in include/display/item/; (13) search.inc.php, (14) item_edit.inc.php, (15) register_succsess.inc.php, (16) context_menu.inc.php, (17) item_repost.inc.php, (18) balance.inc.php, (19) featured.inc.php, (20) user.inc.php, (21) buynow.inc.php, (22) install_complete.inc.php, (23) fees_info.inc.php, (24) user_feedback.inc.php, (25) admin_balance.inc.php, (26) activate.inc.php, (27) user_info.inc.php, (28) member.inc.php, (29) add_bid.inc.php, (30) items_filter.inc.php, (31) my_info.inc.php, (32) register.inc.php, (33) leave_feedback.inc.php, and (34) user_auctions.inc.php in include/display/; and (35) design/form.inc.php, (36) processor.inc.php, (37) interfaces.inc.php (38) left_menu.inc.php, (39) login.inc.php, and (40) categories.inc.php in include/.",
"id": "GHSA-48g7-cmc5-v387",
"modified": "2022-05-01T17:57:04Z",
"published": "2022-05-01T17:57:04Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2007-1790"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/33335"
},
{
"type": "WEB",
"url": "https://www.exploit-db.com/exploits/3607"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/24696"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34545"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34546"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34547"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34548"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34549"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34550"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34551"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34552"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34553"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34554"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34555"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34556"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34557"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34558"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34559"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34560"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34561"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34562"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34563"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34564"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34565"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34566"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34567"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34568"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34569"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34570"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34571"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34572"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34573"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34574"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34575"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34576"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34577"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34578"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34579"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34580"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34581"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34582"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34583"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/34584"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/23211"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2007/1180"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-48GJ-6976-QJ95
Vulnerability from github – Published: 2024-02-07 00:30 – Updated: 2024-02-07 00:30A potential attacker with access to the Westermo Lynx device may be able to execute malicious code that could affect the correct functioning of the device.
{
"affected": [],
"aliases": [
"CVE-2023-45735"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2024-02-06T22:16:14Z",
"severity": "HIGH"
},
"details": "\n\n\n\n\nA potential attacker with access to the Westermo Lynx device may be able to execute malicious code that could affect the correct functioning of the device.\n\n\n\n\n\n",
"id": "GHSA-48gj-6976-qj95",
"modified": "2024-02-07T00:30:25Z",
"published": "2024-02-07T00:30:25Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-45735"
},
{
"type": "WEB",
"url": "https://www.cisa.gov/news-events/ics-advisories/icsa-24-023-04"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-48GQ-3CVF-8XFM
Vulnerability from github – Published: 2022-05-01 18:36 – Updated: 2022-05-01 18:36SQL injection vulnerability in emc.asp in emagiC CMS.Net 4.0 allows remote attackers to execute arbitrary SQL commands via the pageId parameter.
{
"affected": [],
"aliases": [
"CVE-2007-5783"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2007-11-01T16:46:00Z",
"severity": "HIGH"
},
"details": "SQL injection vulnerability in emc.asp in emagiC CMS.Net 4.0 allows remote attackers to execute arbitrary SQL commands via the pageId parameter.",
"id": "GHSA-48gq-3cvf-8xfm",
"modified": "2022-05-01T18:36:39Z",
"published": "2022-05-01T18:36:39Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2007-5783"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/38119"
},
{
"type": "WEB",
"url": "https://www.exploit-db.com/exploits/4578"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/26229"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2007/3642"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-48H4-C5MW-4H8J
Vulnerability from github – Published: 2023-06-07 03:30 – Updated: 2024-04-04 04:37The following themes for WordPress are vulnerable to Function Injections in versions up to and including Shapely <= 1.2.7, NewsMag <= 2.4.1, Activello <= 1.4.0, Illdy <= 2.1.4, Allegiant <= 1.2.2, Newspaper X <= 1.3.1, Pixova Lite <= 2.0.5, Brilliance <= 1.2.7, MedZone Lite <= 1.2.4, Regina Lite <= 2.0.4, Transcend <= 1.1.8, Affluent <= 1.1.0, Bonkers <= 1.0.4, Antreas <= 1.0.2, Sparkling <= 2.4.8, and NatureMag Lite <= 1.0.4. This is due to epsilon_framework_ajax_action. This makes it possible for unauthenticated attackers to call functions and achieve remote code execution.
{
"affected": [],
"aliases": [
"CVE-2020-36708"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2023-06-07T02:15:11Z",
"severity": "CRITICAL"
},
"details": "The following themes for WordPress are vulnerable to Function Injections in versions up to and including Shapely \u003c= 1.2.7, NewsMag \u003c= 2.4.1, Activello \u003c= 1.4.0, Illdy \u003c= 2.1.4, Allegiant \u003c= 1.2.2, Newspaper X \u003c= 1.3.1, Pixova Lite \u003c= 2.0.5, Brilliance \u003c= 1.2.7, MedZone Lite \u003c= 1.2.4, Regina Lite \u003c= 2.0.4, Transcend \u003c= 1.1.8, Affluent \u003c= 1.1.0, Bonkers \u003c= 1.0.4, Antreas \u003c= 1.0.2, Sparkling \u003c= 2.4.8, and NatureMag Lite \u003c= 1.0.4. This is due to epsilon_framework_ajax_action. This makes it possible for unauthenticated attackers to call functions and achieve remote code execution.",
"id": "GHSA-48h4-c5mw-4h8j",
"modified": "2024-04-04T04:37:26Z",
"published": "2023-06-07T03:30:21Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-36708"
},
{
"type": "WEB",
"url": "https://blog.nintechnet.com/unauthenticated-function-injection-vulnerability-fixed-in-15-wordpress-themes"
},
{
"type": "WEB",
"url": "https://blog.nintechnet.com/unauthenticated-function-injection-vulnerability-in-wordpress-sparkling-theme"
},
{
"type": "WEB",
"url": "https://wpscan.com/vulnerability/bec52a5b-c892-4763-a962-05da7100eca5"
},
{
"type": "WEB",
"url": "https://www.wordfence.com/blog/2020/11/large-scale-attacks-target-epsilon-framework-themes"
},
{
"type": "WEB",
"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/5b75c322-539d-44e9-8f26-5ff929874b67?source=cve"
}
],
"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-48HJ-8597-5M47
Vulnerability from github – Published: 2025-08-12 03:31 – Updated: 2025-08-12 03:31SAP Landscape Transformation (SLT) allows an attacker with user privileges to exploit a vulnerability in the function module exposed via RFC. This flaw enables the injection of arbitrary ABAP code into the system, bypassing essential authorization checks. This vulnerability effectively functions as a backdoor, creating the risk of full system compromise, undermining the confidentiality, integrity and availability of the system.
{
"affected": [],
"aliases": [
"CVE-2025-42950"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-08-12T03:15:27Z",
"severity": "CRITICAL"
},
"details": "SAP Landscape Transformation (SLT) allows an attacker with user privileges to exploit a vulnerability in the function module exposed via RFC. This flaw enables the injection of arbitrary ABAP code into the system, bypassing essential authorization checks. This vulnerability effectively functions as a backdoor, creating the risk of full system compromise, undermining the confidentiality, integrity and availability of the system.",
"id": "GHSA-48hj-8597-5m47",
"modified": "2025-08-12T03:31:52Z",
"published": "2025-08-12T03:31:52Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-42950"
},
{
"type": "WEB",
"url": "https://me.sap.com/notes/3633838"
},
{
"type": "WEB",
"url": "https://url.sap/sapsecuritypatchday"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-48M5-G28R-G5MW
Vulnerability from github – Published: 2022-05-24 17:21 – Updated: 2024-04-04 02:54Zyxel CloudCNM SecuManager 3.1.0 and 3.1.1 allows use of live/CPEManager/AXCampaignManager/delete_cpes_by_ids?cpe_ids= for eval injection of Python code.
{
"affected": [],
"aliases": [
"CVE-2020-15348"
],
"database_specific": {
"cwe_ids": [
"CWE-74",
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2020-06-26T14:15:00Z",
"severity": "CRITICAL"
},
"details": "Zyxel CloudCNM SecuManager 3.1.0 and 3.1.1 allows use of live/CPEManager/AXCampaignManager/delete_cpes_by_ids?cpe_ids= for eval injection of Python code.",
"id": "GHSA-48m5-g28r-g5mw",
"modified": "2024-04-04T02:54:37Z",
"published": "2022-05-24T17:21:44Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-15348"
},
{
"type": "WEB",
"url": "https://pierrekim.github.io/blog/2020-03-09-zyxel-secumanager-0day-vulnerabilities.html"
},
{
"type": "WEB",
"url": "https://www.zyxel.com/support/vulnerabilities-of-CloudCNM-SecuManager.shtml"
}
],
"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-48P2-6WW6-FVM2
Vulnerability from github – Published: 2022-05-17 00:57 – Updated: 2022-05-17 00:57Adobe Reader and Acrobat 9.x before 9.5.3, 10.x before 10.1.5, and 11.x before 11.0.1 allow attackers to execute arbitrary code via unspecified vectors, related to a "logic error," a different vulnerability than CVE-2013-0607, CVE-2013-0608, CVE-2013-0611, and CVE-2013-0614.
{
"affected": [],
"aliases": [
"CVE-2013-0618"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2013-01-10T11:56:00Z",
"severity": "HIGH"
},
"details": "Adobe Reader and Acrobat 9.x before 9.5.3, 10.x before 10.1.5, and 11.x before 11.0.1 allow attackers to execute arbitrary code via unspecified vectors, related to a \"logic error,\" a different vulnerability than CVE-2013-0607, CVE-2013-0608, CVE-2013-0611, and CVE-2013-0614.",
"id": "GHSA-48p2-6ww6-fvm2",
"modified": "2022-05-17T00:57:15Z",
"published": "2022-05-17T00:57:15Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2013-0618"
},
{
"type": "WEB",
"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15822"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00004.html"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-security-announce/2013-01/msg00005.html"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-updates/2013-01/msg00028.html"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-updates/2013-01/msg00081.html"
},
{
"type": "WEB",
"url": "http://rhn.redhat.com/errata/RHSA-2013-0150.html"
},
{
"type": "WEB",
"url": "http://security.gentoo.org/glsa/glsa-201308-03.xml"
},
{
"type": "WEB",
"url": "http://www.adobe.com/support/security/bulletins/apsb13-02.html"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-48R9-4V93-X4WH
Vulnerability from github – Published: 2022-05-17 05:29 – Updated: 2024-04-25 23:02PHP remote file inclusion vulnerability in dompdf.php in dompdf 0.6.0 beta1 allows remote attackers to execute arbitrary PHP code via a URL in the input_file parameter.
{
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "dompdf/dompdf"
},
"ranges": [
{
"events": [
{
"introduced": "0.6"
},
{
"fixed": "0.6.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2010-4879"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": true,
"github_reviewed_at": "2024-04-25T23:02:44Z",
"nvd_published_at": "2011-10-07T10:55:00Z",
"severity": "HIGH"
},
"details": "PHP remote file inclusion vulnerability in dompdf.php in dompdf 0.6.0 beta1 allows remote attackers to execute arbitrary PHP code via a URL in the `input_file` parameter.",
"id": "GHSA-48r9-4v93-x4wh",
"modified": "2024-04-25T23:02:44Z",
"published": "2022-05-17T05:29:50Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2010-4879"
},
{
"type": "WEB",
"url": "https://github.com/dompdf/dompdf/commit/23a693993299e669306929e3d49a4a1f7b3fb028"
},
{
"type": "WEB",
"url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/dompdf/dompdf/CVE-2010-4879.yaml"
},
{
"type": "PACKAGE",
"url": "https://github.com/dompdf/dompdf"
},
{
"type": "WEB",
"url": "https://github.com/dompdf/dompdf/releases/tag/v0.6.2"
},
{
"type": "WEB",
"url": "https://github.com/dompdf/dompdf/wiki/Securing-dompdf"
},
{
"type": "WEB",
"url": "http://www.exploit-db.com/exploits/14851"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "DOMPDF Remote File Inclusion Vulnerability"
}
GHSA-48RM-45H3-7G2R
Vulnerability from github – Published: 2022-05-17 02:11 – Updated: 2022-05-17 02:11Multiple PHP remote file inclusion vulnerabilities in ComScripts TEAM Quick Classifieds 1.0 via the DOCUMENT_ROOT parameter to (1) index.php3, (2) locate.php3, (3) search_results.php3, (4) classifieds/index.php3, and (5) classifieds/view.php3; (6) index.php3, (7) manager.php3, (8) pass.php3, (9) remember.php3 (10) sign-up.php3, (11) update.php3, (12) userSet.php3, and (13) verify.php3 in controlcenter/; (14) alterCats.php3, (15) alterFeatured.php3, (16) alterHomepage.php3, (17) alterNews.php3, (18) alterTheme.php3, (19) color_help.php3, (20) createdb.php3, (21) createFeatured.php3, (22) createHomepage.php3, (23) createL.php3, (24) createM.php3, (25) createNews.php3, (26) createP.php3, (27) createS.php3, (28) createT.php3, (29) index.php3, (30) mailadmin.php3, and (31) setUp.php3 in controlpannel/; (32) include/sendit.php3 and (33) include/sendit2.php3; and possibly (34) include/adminHead.inc, (35) include/usersHead.inc, and (36) style/default.scheme.inc.
{
"affected": [],
"aliases": [
"CVE-2008-6543"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2009-03-30T01:30:00Z",
"severity": "HIGH"
},
"details": "Multiple PHP remote file inclusion vulnerabilities in ComScripts TEAM Quick Classifieds 1.0 via the DOCUMENT_ROOT parameter to (1) index.php3, (2) locate.php3, (3) search_results.php3, (4) classifieds/index.php3, and (5) classifieds/view.php3; (6) index.php3, (7) manager.php3, (8) pass.php3, (9) remember.php3 (10) sign-up.php3, (11) update.php3, (12) userSet.php3, and (13) verify.php3 in controlcenter/; (14) alterCats.php3, (15) alterFeatured.php3, (16) alterHomepage.php3, (17) alterNews.php3, (18) alterTheme.php3, (19) color_help.php3, (20) createdb.php3, (21) createFeatured.php3, (22) createHomepage.php3, (23) createL.php3, (24) createM.php3, (25) createNews.php3, (26) createP.php3, (27) createS.php3, (28) createT.php3, (29) index.php3, (30) mailadmin.php3, and (31) setUp.php3 in controlpannel/; (32) include/sendit.php3 and (33) include/sendit2.php3; and possibly (34) include/adminHead.inc, (35) include/usersHead.inc, and (36) style/default.scheme.inc.",
"id": "GHSA-48rm-45h3-7g2r",
"modified": "2022-05-17T02:11:13Z",
"published": "2022-05-17T02:11:13Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-6543"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/42469"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/28417"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/28417/exploit"
}
],
"schema_version": "1.4.0",
"severity": []
}
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.