The Asgaros Forum WordPress plugin before 2.0.0 does not sanitise and escape the post_id parameter before using it in a SQL statement via a REST route of the plugin (accessible to any authenticated user), leading to a SQL injection
{
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"introduced": "2.0.0"
},
{
"last_affected": "2.0.0"
}
]
},
{
"source": "DESCRIPTION",
"extracted_events": [
{
"fixed": "2.0.0"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0411.json",
"cwe_ids": [
"CWE-89"
],
"cna_assigner": "WPScan"
}{
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:asgaros:asgaros_forum:*:*:*:*:*:wordpress:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2.0.0"
}
]
}