{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2022-4305",
        "assignerOrgId": "1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81",
        "state": "PUBLISHED",
        "assignerShortName": "WPScan",
        "dateReserved": "2022-12-06T10:55:06.559Z",
        "datePublished": "2023-01-23T14:31:57.132Z",
        "dateUpdated": "2024-08-03T01:34:50.042Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81",
                "shortName": "WPScan",
                "dateUpdated": "2023-01-23T14:31:57.132Z"
            },
            "title": "Login as User or Customer < 3.3 - Unauthenticated Privilege Escalation to Admin",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "CWE-269 Improper Privilege Management",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "Unknown",
                    "product": "Login as User or Customer",
                    "versions": [
                        {
                            "status": "affected",
                            "versionType": "custom",
                            "version": "0",
                            "lessThan": "3.3"
                        }
                    ],
                    "defaultStatus": "unaffected",
                    "collectionURL": "https://wordpress.org/plugins"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The Login as User or Customer WordPress plugin before 3.3 lacks authorization checks to ensure that users are allowed to log in as another one, which could allow unauthenticated attackers to obtain a valid admin session."
                }
            ],
            "references": [
                {
                    "url": "https://wpscan.com/vulnerability/286d972d-7bda-455c-a226-fd9ce5f925bd",
                    "tags": [
                        "exploit",
                        "vdb-entry",
                        "technical-description"
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "David",
                    "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:34:50.042Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://wpscan.com/vulnerability/286d972d-7bda-455c-a226-fd9ce5f925bd",
                        "tags": [
                            "exploit",
                            "vdb-entry",
                            "technical-description",
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}