Remote code execution via stale content-author checks
Published Aug 24, 2023 · Updated Oct 3, 2024
Improper access control in XWiki Platform allows remote authenticated users to execute server-side Groovy code through scheduled jobs. GroovyJob authorizes a scheduled script against the unchanged content author instead of the effective metadata author of the edit supplying the script. Exploitation requires edit rights to a document last changed by a user with programming rights and an administrator to visit content that triggers or schedules the job.
Summary
What happened
Improper access control in XWiki Platform allows remote authenticated users to execute server-side Groovy code through scheduled jobs. GroovyJob authorizes a scheduled script against the unchanged content author instead of the effective metadata author of the edit supplying the script. Exploitation requires edit rights to a document last changed by a user with programming rights and an administrator to visit content that triggers or schedules the job.
The record
- CVE
- CVE-2023-40573
- Published
- Aug 24, 2023
- Updated
- Oct 3, 2024
- Vendor
- CryptPad
- Product
- XWiki Platform
- Classifications
- CWE-284, T1059
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 24, 2023CVE publishedPublication date reported by the CVE source.
- Oct 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 1.3
- Affected versionversion=1.3 <14.10.9
- Affected versionversion=< 14.10.9
- Affected versionversion=>= 15.0-rc-1, < 15.4-rc-1
- Affected versionversion=15.0-rc-1 <15.4-rc-1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- XWiki scheduled Groovy-job reproduction procedureproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo