-
Notifications
You must be signed in to change notification settings - Fork 342
/
GHSA-wh34-m772-5398.json
88 lines (88 loc) · 2.94 KB
/
GHSA-wh34-m772-5398.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"schema_version": "1.4.0",
"id": "GHSA-wh34-m772-5398",
"modified": "2024-12-12T22:31:29Z",
"published": "2024-12-12T19:22:12Z",
"aliases": [
"CVE-2024-55663"
],
"summary": "XWiki Platform has an SQL injection in getdocuments.vm with sort parameter",
"details": "### Impact\n\nIn `getdocument.vm` ; the ordering of the returned documents is defined from an unsanitized request parameter (request.sort) and can allow any user to inject HQL.\n\nDepending on the used database backend, the attacker may be able to not only obtain confidential information such as password hashes from the database, but also execute UPDATE/INSERT/DELETE queries.\n\nIt's possible to employ database backend dependent techniques of breaking out of HQL query context, described, for example, here: https://www.sonarsource.com/blog/exploiting-hibernate-injections.\n\n### Patches\n\nThis has been patched in 13.10.5 and 14.3-rc-1.\n\n### Workarounds\n\nThere is no known workaround, other than upgrading XWiki.\n\n### References\n\nhttps://jira.xwiki.org/browse/XWIKI-17568\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:[email protected])",
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"package": {
"ecosystem": "Maven",
"name": "org.xwiki.platform:xwiki-platform-distribution-war"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "11.10.6"
},
{
"fixed": "13.10.5"
}
]
}
]
},
{
"package": {
"ecosystem": "Maven",
"name": "org.xwiki.platform:xwiki-platform-distribution-war"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "14.0-rc-1"
},
{
"fixed": "14.3-rc-1"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-wh34-m772-5398"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-55663"
},
{
"type": "WEB",
"url": "https://github.com/xwiki/xwiki-platform/commit/673076e2e8b88a36cdeaf7007843aa9ca1a068a0"
},
{
"type": "PACKAGE",
"url": "https://github.com/xwiki/xwiki-platform"
},
{
"type": "WEB",
"url": "https://jira.xwiki.org/browse/XWIKI-17568"
}
],
"database_specific": {
"cwe_ids": [
"CWE-116"
],
"severity": "HIGH",
"github_reviewed": true,
"github_reviewed_at": "2024-12-12T19:22:12Z",
"nvd_published_at": "2024-12-12T19:15:13Z"
}
}