CVE-2022-23654 Improper write access check in Requarks/wiki
Authenticated users can modify pages outside their permitted paths by manipulating page IDs, bypassing access controls in Wiki.js.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-23654?
CVE-2022-23654 is a high-severity missing authorization vulnerability in Requarks wiki, published on 22 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Wiki.js is a wiki app built on Node.js. In affected versions an authenticated user with write access on a restricted set of paths can update a page outside the allowed paths by specifying a different target page ID while keeping the path intact. The access control incorrectly check the path access against the user-provided values instead of the actual path associated to the page ID. Commit https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b fixes this vulnerability by checking access control on the path associated with the page ID instead of the user-provided value. When the path is different than the current value, a second access control check is then performed on the user-provided path before the move operation.
Weakness: CWE-287
Which versions are affected by CVE-2022-23654?
It affects 1 product.
Products include Requarks Wiki.js.
How do I fix CVE-2022-23654?
No fix has been published for CVE-2022-23654 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-23654 being exploited?
There is no known exploitation of CVE-2022-23654 in the wild and no public exploit code.
Other vulnerabilities in Requarks wiki
Sources
Also known as GHSA-3cv9-795v-6j7j.