{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2022-4047",
        "assignerOrgId": "1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81",
        "state": "PUBLISHED",
        "assignerShortName": "WPScan",
        "dateReserved": "2022-11-17T09:15:15.850Z",
        "datePublished": "2022-12-26T12:28:13.684Z",
        "dateUpdated": "2024-08-03T01:27:54.233Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81",
                "shortName": "WPScan",
                "dateUpdated": "2023-01-10T09:11:12.736Z"
            },
            "title": "Return Refund and Exchange For WooCommerce < 4.0.9 - Unauthenticated Arbitrary File Upload",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "CWE-434 Unrestricted Upload of File with Dangerous Type",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Unknown",
                    "product": "Return Refund and Exchange For WooCommerce",
                    "versions": [
                        {
                            "status": "affected",
                            "versionType": "custom",
                            "version": "0",
                            "lessThan": "4.0.9"
                        }
                    ],
                    "defaultStatus": "unaffected",
                    "collectionURL": "https://wordpress.org/plugins"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The Return Refund and Exchange For WooCommerce WordPress plugin before 4.0.9 does not validate attachment files to be uploaded via an AJAX action available to unauthenticated users, which could allow them to upload arbitrary files such as PHP and lead to RCE"
                }
            ],
            "references": [
                {
                    "url": "https://wpscan.com/vulnerability/8965a87c-5fe5-4b39-88f3-e00966ca1d94",
                    "tags": [
                        "exploit",
                        "vdb-entry",
                        "technical-description"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "cydave",
                    "type": "finder"
                },
                {
                    "lang": "en",
                    "value": "WPScan",
                    "type": "coordinator"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "x_generator": {
                "engine": "WPScan CVE Generator"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T01:27:54.233Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://wpscan.com/vulnerability/8965a87c-5fe5-4b39-88f3-e00966ca1d94",
                        "tags": [
                            "exploit",
                            "vdb-entry",
                            "technical-description",
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}