CWE-434
AllowedUnrestricted Upload of File with Dangerous Type
Abstraction: Base · Status: Draft
The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
5969 vulnerabilities reference this CWE, most recent first.
GHSA-W28J-C2QX-49R3
Vulnerability from github – Published: 2025-11-17 18:30 – Updated: 2025-11-17 21:31QaTraq 6.9.2 allows authenticated users to upload arbitrary files via the "Add Attachment" feature in the "Test Script" module. The application fails to restrict file types, enabling the upload of executable PHP files. Once uploaded, the file can be accessed through the "View Attachment" option, which executes the PHP payload on the server.
{
"affected": [],
"aliases": [
"CVE-2025-63748"
],
"database_specific": {
"cwe_ids": [
"CWE-434"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-11-17T16:15:50Z",
"severity": "HIGH"
},
"details": "QaTraq 6.9.2 allows authenticated users to upload arbitrary files via the \"Add Attachment\" feature in the \"Test Script\" module. The application fails to restrict file types, enabling the upload of executable PHP files. Once uploaded, the file can be accessed through the \"View Attachment\" option, which executes the PHP payload on the server.",
"id": "GHSA-w28j-c2qx-49r3",
"modified": "2025-11-17T21:31:22Z",
"published": "2025-11-17T18:30:30Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-63748"
},
{
"type": "WEB",
"url": "https://bitsbyamg.com/blog/post/2025/10/19/qatraq-692-default-creds-and-file-upload-rce"
},
{
"type": "WEB",
"url": "http://qatraq.com"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-W29Q-JWVM-687V
Vulnerability from github – Published: 2022-05-14 03:20 – Updated: 2022-05-14 03:20b3log Symphony (aka Sym) 2.6.0 allows remote attackers to upload and execute arbitrary JSP files via the name[] parameter to the /upload URI.
{
"affected": [],
"aliases": [
"CVE-2018-10469"
],
"database_specific": {
"cwe_ids": [
"CWE-434"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2018-04-27T04:29:00Z",
"severity": "CRITICAL"
},
"details": "b3log Symphony (aka Sym) 2.6.0 allows remote attackers to upload and execute arbitrary JSP files via the name[] parameter to the /upload URI.",
"id": "GHSA-w29q-jwvm-687v",
"modified": "2022-05-14T03:20:29Z",
"published": "2022-05-14T03:20:29Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-10469"
},
{
"type": "WEB",
"url": "https://github.com/b3log/symphony/issues/620"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-W2C3-3JV2-F439
Vulnerability from github – Published: 2023-12-06 03:30 – Updated: 2023-12-11 21:30xinhu xinhuoa 2.2.1 contains a File upload vulnerability.
{
"affected": [],
"aliases": [
"CVE-2023-48930"
],
"database_specific": {
"cwe_ids": [
"CWE-434"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2023-12-06T01:15:07Z",
"severity": "CRITICAL"
},
"details": "xinhu xinhuoa 2.2.1 contains a File upload vulnerability.",
"id": "GHSA-w2c3-3jv2-f439",
"modified": "2023-12-11T21:30:21Z",
"published": "2023-12-06T03:30:27Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-48930"
},
{
"type": "WEB",
"url": "https://gist.github.com/Maverickfir/b8113bdb51ec66e454ffa5b50674c446"
},
{
"type": "WEB",
"url": "https://github.com/Maverickfir/Vulnerability-recurrence/blob/main/xinhuOA.md"
},
{
"type": "WEB",
"url": "https://github.com/Maverickfir/xinhuOA2.2.1"
}
],
"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-W2F4-HXPM-MQ98
Vulnerability from github – Published: 2021-11-15 23:17 – Updated: 2021-11-17 21:12bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type.
{
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "ssddanbrown/bookstack"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "21.0.3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2021-3915"
],
"database_specific": {
"cwe_ids": [
"CWE-434"
],
"github_reviewed": true,
"github_reviewed_at": "2021-11-15T20:34:14Z",
"nvd_published_at": "2021-11-13T10:15:00Z",
"severity": "HIGH"
},
"details": "bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type.",
"id": "GHSA-w2f4-hxpm-mq98",
"modified": "2021-11-17T21:12:00Z",
"published": "2021-11-15T23:17:37Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3915"
},
{
"type": "WEB",
"url": "https://github.com/bookstackapp/bookstack/commit/ae155d67454d6b9f6c93b2bb457aaa4b2eb1a9ed"
},
{
"type": "PACKAGE",
"url": "https://github.com/BookStackApp/BookStack"
},
{
"type": "WEB",
"url": "https://huntr.dev/bounties/fcb65f2d-257a-46f4-bac9-f6ded5649079"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:H",
"type": "CVSS_V3"
}
],
"summary": "bookstack is vulnerable to Unrestricted Upload of File with Dangerous Type"
}
GHSA-W2GX-PH96-CXCC
Vulnerability from github – Published: 2022-05-24 19:14 – Updated: 2022-05-24 19:14An arbitrary file upload vulnerability in /admin/media/upload of ZKEACMS V3.2.0 allows attackers to execute arbitrary code via a crafted HTML file.
{
"affected": [],
"aliases": [
"CVE-2020-20670"
],
"database_specific": {
"cwe_ids": [
"CWE-434"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2021-09-13T22:15:00Z",
"severity": "HIGH"
},
"details": "An arbitrary file upload vulnerability in /admin/media/upload of ZKEACMS V3.2.0 allows attackers to execute arbitrary code via a crafted HTML file.",
"id": "GHSA-w2gx-ph96-cxcc",
"modified": "2022-05-24T19:14:33Z",
"published": "2022-05-24T19:14:33Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-20670"
},
{
"type": "WEB",
"url": "https://github.com/yilezhu/Czar.Cms/issues/6"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-W2JM-QQHW-C9PX
Vulnerability from github – Published: 2025-12-27 21:30 – Updated: 2026-02-24 09:31A vulnerability has been found in jackq XCMS up to 3fab5342cc509945a7ce1b8ec39d19f701b89261. Affected is the function Upload of the file Admin/Home/Controller/ProductImageController.class.php of the component Backend. Such manipulation of the argument File leads to unrestricted upload. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. This product takes the approach of rolling releases to provide continious delivery. Therefore, version details for affected and updated releases are not available. The project was informed of the problem early through an issue report but has not responded yet.
{
"affected": [],
"aliases": [
"CVE-2025-15110"
],
"database_specific": {
"cwe_ids": [
"CWE-284",
"CWE-434"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-12-27T20:15:41Z",
"severity": "MODERATE"
},
"details": "A vulnerability has been found in jackq XCMS up to 3fab5342cc509945a7ce1b8ec39d19f701b89261. Affected is the function Upload of the file Admin/Home/Controller/ProductImageController.class.php of the component Backend. Such manipulation of the argument File leads to unrestricted upload. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. This product takes the approach of rolling releases to provide continious delivery. Therefore, version details for affected and updated releases are not available. The project was informed of the problem early through an issue report but has not responded yet.",
"id": "GHSA-w2jm-qqhw-c9px",
"modified": "2026-02-24T09:31:18Z",
"published": "2025-12-27T21:30:12Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-15110"
},
{
"type": "WEB",
"url": "https://gitee.com/jackq/XCMS"
},
{
"type": "WEB",
"url": "https://gitee.com/jackq/XCMS/issues/IDC5C8"
},
{
"type": "WEB",
"url": "https://vuldb.com/?ctiid.338481"
},
{
"type": "WEB",
"url": "https://vuldb.com/?id.338481"
},
{
"type": "WEB",
"url": "https://vuldb.com/?submit.711702"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"type": "CVSS_V4"
}
]
}
GHSA-W2RJ-467X-G5HG
Vulnerability from github – Published: 2024-10-11 00:31 – Updated: 2024-10-11 00:31A vulnerability has been found in Codezips Tourist Management System 1.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file /admin/create-package.php. The manipulation of the argument packageimage leads to unrestricted upload. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
{
"affected": [],
"aliases": [
"CVE-2024-9815"
],
"database_specific": {
"cwe_ids": [
"CWE-434"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2024-10-10T22:15:11Z",
"severity": "MODERATE"
},
"details": "A vulnerability has been found in Codezips Tourist Management System 1.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file /admin/create-package.php. The manipulation of the argument packageimage leads to unrestricted upload. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.",
"id": "GHSA-w2rj-467x-g5hg",
"modified": "2024-10-11T00:31:34Z",
"published": "2024-10-11T00:31:34Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-9815"
},
{
"type": "WEB",
"url": "https://github.com/ppp-src/CVE/issues/12"
},
{
"type": "WEB",
"url": "https://vuldb.com/?ctiid.279967"
},
{
"type": "WEB",
"url": "https://vuldb.com/?id.279967"
},
{
"type": "WEB",
"url": "https://vuldb.com/?submit.418917"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"type": "CVSS_V4"
}
]
}
GHSA-W2VP-M9PX-R4QX
Vulnerability from github – Published: 2023-03-09 00:30 – Updated: 2023-03-14 21:30An issue in Wyomind Help Desk Magento 2 extension v.1.3.6 and before fixed in v.1.3.7 allows attacker to execute arbitrary code via a phar file upload in the ticket message field.
{
"affected": [],
"aliases": [
"CVE-2021-33352"
],
"database_specific": {
"cwe_ids": [
"CWE-434"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2023-03-08T22:15:00Z",
"severity": "CRITICAL"
},
"details": "An issue in Wyomind Help Desk Magento 2 extension v.1.3.6 and before fixed in v.1.3.7 allows attacker to execute arbitrary code via a phar file upload in the ticket message field.",
"id": "GHSA-w2vp-m9px-r4qx",
"modified": "2023-03-14T21:30:21Z",
"published": "2023-03-09T00:30:18Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-33352"
},
{
"type": "WEB",
"url": "https://www.exploit-db.com/exploits/50113"
},
{
"type": "WEB",
"url": "https://www.wyomind.com/magento2/helpdesk-magento-2.html"
}
],
"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-W2XW-44R3-4V9G
Vulnerability from github – Published: 2022-05-17 00:01 – Updated: 2025-05-20 19:40An arbitrary file upload vulnerability in the file upload module of Express Connect-Multiparty 2.2.0 allows attackers to execute arbitrary code via a crafted PDF file. NOTE: the Supplier has not verified this vulnerability report.
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "connect-multiparty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "2.2.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2022-29623"
],
"database_specific": {
"cwe_ids": [
"CWE-434"
],
"github_reviewed": true,
"github_reviewed_at": "2025-05-20T19:40:43Z",
"nvd_published_at": "2022-05-16T14:15:00Z",
"severity": "HIGH"
},
"details": "An arbitrary file upload vulnerability in the file upload module of Express Connect-Multiparty 2.2.0 allows attackers to execute arbitrary code via a crafted PDF file. NOTE: the Supplier has not verified this vulnerability report.",
"id": "GHSA-w2xw-44r3-4v9g",
"modified": "2025-05-20T19:40:43Z",
"published": "2022-05-17T00:01:45Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-29623"
},
{
"type": "PACKAGE",
"url": "https://github.com/expressjs/connect-multiparty"
},
{
"type": "WEB",
"url": "https://github.com/expressjs/connect-multiparty/releases/tag/2.2.0"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/package/connect-multiparty"
},
{
"type": "WEB",
"url": "https://www.youtube.com/watch?v=i3xJR-91rrM"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Connect-Multiparty allows arbitrary file upload"
}
GHSA-W353-Q44Q-75P3
Vulnerability from github – Published: 2022-05-24 16:50 – Updated: 2024-04-04 01:19Missing file and path validation in the ringtone upload function of the Akuvox R50P VoIP phone 50.0.6.156 allows an attacker to upload a manipulated ringtone file, with an executable payload (shell commands within the file) and trigger code execution.
{
"affected": [],
"aliases": [
"CVE-2019-12326"
],
"database_specific": {
"cwe_ids": [
"CWE-434"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2019-07-22T17:15:00Z",
"severity": "CRITICAL"
},
"details": "Missing file and path validation in the ringtone upload function of the Akuvox R50P VoIP phone 50.0.6.156 allows an attacker to upload a manipulated ringtone file, with an executable payload (shell commands within the file) and trigger code execution.",
"id": "GHSA-w353-q44q-75p3",
"modified": "2024-04-04T01:19:52Z",
"published": "2022-05-24T16:50:51Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-12326"
},
{
"type": "WEB",
"url": "https://www.sit.fraunhofer.de/fileadmin/dokumente/CVE/Advisory_Akuvox_R50P.pdf"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
Mitigation
Generate a new, unique filename for an uploaded file instead of using the user-supplied filename, so that no external input is used at all.[REF-422] [REF-423]
Mitigation MIT-21
Strategy: Enforcement by Conversion
When the set of acceptable objects, such as filenames or URLs, is limited or known, create a mapping from a set of fixed input values (such as numeric IDs) to the actual filenames or URLs, and reject all other inputs.
Mitigation
Consider storing the uploaded files outside of the web document root entirely. Then, use other mechanisms to deliver the files dynamically. [REF-423]
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.
- For example, limiting filenames to alphanumeric characters can help to restrict the introduction of unintended file extensions.
Mitigation
Define a very limited set of allowable extensions and only generate filenames that end in these extensions. Consider the possibility of XSS (CWE-79) before allowing .html or .htm file types.
Mitigation
Strategy: Input Validation
Ensure that only one extension is used in the filename. Some web servers, including some versions of Apache, may process files based on inner extensions so that "filename.php.gif" is fed to the PHP interpreter.[REF-422] [REF-423]
Mitigation
When running on a web server that supports case-insensitive filenames, perform case-insensitive evaluations of the extensions that are provided.
Mitigation MIT-15
For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
Mitigation
Do not rely exclusively on sanity checks of file contents to ensure that the file is of the expected type and size. It may be possible for an attacker to hide code in some file segments that will still be executed by the server. For example, GIF images may contain a free-form comments field.
Mitigation
Do not rely exclusively on the MIME content type or filename attribute when determining how to render a file. Validating the MIME content type and ensuring that it matches the extension is only a partial solution.
Mitigation MIT-17
Strategy: Environment Hardening
Run your code using the lowest privileges that are required to accomplish the necessary tasks [REF-76]. If possible, create isolated accounts with limited privileges that are only used for a single task. That way, a successful attack will not immediately give the attacker access to the rest of the software or its environment. For example, database applications rarely need to run as the database administrator, especially in day-to-day operations.
Mitigation MIT-22
Strategy: Sandbox or Jail
- Run the code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which files can be accessed in a particular directory or which commands can be executed by the software.
- OS-level examples include the Unix chroot jail, AppArmor, and SELinux. In general, managed code may provide some protection. For example, java.io.FilePermission in the Java SecurityManager allows the software to specify restrictions on file operations.
- This may not be a feasible solution, and it only limits the impact to the operating system; the rest of the application may still be subject to compromise.
- Be careful to avoid CWE-243 and other weaknesses related to jails.
CAPEC-1: Accessing Functionality Not Properly Constrained by ACLs
In applications, particularly web applications, access to functionality is mitigated by an authorization framework. This framework maps Access Control Lists (ACLs) to elements of the application's functionality; particularly URL's for web apps. In the case that the administrator failed to specify an ACL for a particular element, an attacker may be able to access it with impunity. An attacker with the ability to access functionality not properly constrained by ACLs can obtain sensitive information and possibly compromise the entire application. Such an attacker can access resources that must be available only to users at a higher privilege level, can access management sections of the application, or can run queries for data that they otherwise not supposed to.