org.xwiki.platform:xwiki-platform-oldcore is missing authorization in User#setDisabledStatus, which may allow an incorrectly authorized user with only Script rights to enable or disable a user. This operation is meant to only be available for users with admin rights. This problem has been patched in XWiki 13.10.7, 14.4.2 and 14.5RC1.
{
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41929.json",
"cwe_ids": [
"CWE-862"
]
}[
{
"signature_type": "Function",
"source": "https://github.com/xwiki/xwiki-platform/commit/0b732f2ef0224e2aaf10e2e1ef48dbd3fb6e10cd",
"id": "CVE-2022-41929-0bc35a79",
"deprecated": false,
"target": {
"file": "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/User.java",
"function": "setDisabledStatus"
},
"signature_version": "v1",
"digest": {
"function_hash": "176382147332873468828462861729421347080",
"length": 84.0
}
},
{
"signature_type": "Line",
"source": "https://github.com/xwiki/xwiki-platform/commit/0b732f2ef0224e2aaf10e2e1ef48dbd3fb6e10cd",
"id": "CVE-2022-41929-73463481",
"deprecated": false,
"target": {
"file": "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/api/User.java"
},
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"269895999152795930690457794911533646744",
"243334174950697818734997287878692459311",
"104995347061490540001305252560970709191",
"172723925155131148434449371913095405073"
]
}
}
]