CVE-2023-26478
published 2023-03-02CVE-2023-26478: XWiki Platform is a generic wiki platform. Starting in version 14.3-rc-1, `org.xwiki.store.script.TemporaryAttachmentsScriptService#uploadTemporaryAttachment`…
PriorityP344high8.1CVSS 3.1
AVNACLPRLUINSUCHIHAN
EPSS
0.67%
47.4th percentile
XWiki Platform is a generic wiki platform. Starting in version 14.3-rc-1, `org.xwiki.store.script.TemporaryAttachmentsScriptService#uploadTemporaryAttachment` returns an instance of `com.xpn.xwiki.doc.XWikiAttachment`. This class is not supported to be exposed to users without the `programing` right.
`com.xpn.xwiki.api.Attachment` should be used instead and takes case of checking the user's rights before performing dangerous operations. This has been patched in versions 14.9-rc-1 and 14.4.6. There are no known workarounds for this issue.
Affected
4 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| xwiki | xwiki | >= 14.3 < 14.4.6 | 14.4.6 |
| xwiki | xwiki | >= 14.5 < 14.9 | 14.9 |
| xwiki | xwiki-platform | — | — |
| xwiki | xwiki-platform | — | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
xwiki contains Exposed Dangerous Method or Function
ghsa·2023-03-03
CVE-2023-26478 [MEDIUM] CWE-749 xwiki contains Exposed Dangerous Method or Function
xwiki contains Exposed Dangerous Method or Function
### Impact
`org.xwiki.store.script.TemporaryAttachmentsScriptService#uploadTemporaryAttachment` is returning an instance of `com.xpn.xwiki.doc.XWikiAttachment`. This class is not supported to be exposed to users without the `programing` right.
`com.xpn.xwiki.api.Attachment` should be used instead and takes case of checking the user's rights before performing dangerous operations.
### Patches
This has been patched in the version 14.9-rc-1 and 14.4.6.
### Workarounds
There's no workaround for this issue.
### References
https://jira.xwiki.org/browse/XWIKI-20180
### For more information
If you have any questions or comments about this advisory:
* Open an issue in [JIRA](https://jira.xwiki.org/)
* Email us at [security ML](mailto:securit
OSV
xwiki contains Exposed Dangerous Method or Function
osv·2023-03-03
CVE-2023-26478 [MEDIUM] xwiki contains Exposed Dangerous Method or Function
xwiki contains Exposed Dangerous Method or Function
### Impact
`org.xwiki.store.script.TemporaryAttachmentsScriptService#uploadTemporaryAttachment` is returning an instance of `com.xpn.xwiki.doc.XWikiAttachment`. This class is not supported to be exposed to users without the `programing` right.
`com.xpn.xwiki.api.Attachment` should be used instead and takes case of checking the user's rights before performing dangerous operations.
### Patches
This has been patched in the version 14.9-rc-1 and 14.4.6.
### Workarounds
There's no workaround for this issue.
### References
https://jira.xwiki.org/browse/XWIKI-20180
### For more information
If you have any questions or comments about this advisory:
* Open an issue in [JIRA](https://jira.xwiki.org/)
* Email us at [security ML](mailto:securit
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/xwiki/xwiki-platform/commit/3c73c59e39b6436b1074d8834cf276916010014dhttps://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8692-g6g9-gm5phttps://jira.xwiki.org/browse/XWIKI-20180https://github.com/xwiki/xwiki-platform/commit/3c73c59e39b6436b1074d8834cf276916010014dhttps://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8692-g6g9-gm5phttps://jira.xwiki.org/browse/XWIKI-20180
2023-03-02
Published