CVE-2022-41931

Published on: Not Yet Published

Last Modified on: 11/30/2022 05:00:00 PM UTC

CVE-2022-41931 - advisory for GHSA-5j7g-cf6r-g2h7

Source: Mitre Source: NIST CVE.ORG Print: PDF PDF
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Certain versions of Xwiki from Xwiki contain the following vulnerability:

xwiki-platform-icon-ui is vulnerable to Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection'). Any user with view rights on commonly accessible documents including the icon picker macro can execute arbitrary Groovy, Python or Velocity code in XWiki due to improper neutralization of the macro parameters of the icon picker macro. The problem has been patched in XWiki 13.10.7, 14.5 and 14.4.2. Workarounds: The [patch](https://github.com/xwiki/xwiki-platform/commit/47eb8a5fba550f477944eb6da8ca91b87eaf1d01) can be manually applied by editing `IconThemesCode.IconPickerMacro` in the object editor. The whole document can also be replaced by the current version by importing the document from the XAR archive of a fixed version as the only changes to the document have been security fixes and small formatting changes.

  • CVE-2022-41931 has been assigned by URL Logo security-adviso[email protected] to track the vulnerability - currently rated as HIGH severity.
  • Affected Vendor/Software: URL Logo xwiki - xwiki-platform version >= 6.4-milestone-2, < 13.10.7
  • Affected Vendor/Software: URL Logo xwiki - xwiki-platform version >= 14.0.0, < 14.4.2

CVSS3 Score: 8.8 - HIGH

Attack
Vector
Attack
Complexity
Privileges
Required
User
Interaction
NETWORK LOW LOW NONE
Scope Confidentiality
Impact
Integrity
Impact
Availability
Impact
UNCHANGED HIGH HIGH HIGH

CVE References

Description Tags Link
XWIKI-19805: Improve parameter escaping in IconPickerMacro · xwiki/xwiki-platform@47eb8a5 · GitHub github.com
text/html
URL Logo MISC github.com/xwiki/xwiki-platform/commit/47eb8a5fba550f477944eb6da8ca91b87eaf1d01
Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in xwiki-platform-icon-ui · Advisory · xwiki/xwiki-platform · GitHub github.com
text/html
URL Logo CONFIRM github.com/xwiki/xwiki-platform/security/advisories/GHSA-5j7g-cf6r-g2h7
Loading... jira.xwiki.org
text/html
URL Logo MISC jira.xwiki.org/browse/XWIKI-19805

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
ApplicationXwikiXwikiAllAllAllAll
ApplicationXwikiXwiki14.4.3AllAllAll
ApplicationXwikiXwiki14.4.4AllAllAll
ApplicationXwikiXwiki6.4milestone2AllAll
ApplicationXwikiXwiki6.4milestone3AllAll
  • cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*:
  • cpe:2.3:a:xwiki:xwiki:14.4.3:*:*:*:*:*:*:*:
  • cpe:2.3:a:xwiki:xwiki:14.4.4:*:*:*:*:*:*:*:
  • cpe:2.3:a:xwiki:xwiki:6.4:milestone2:*:*:*:*:*:*:
  • cpe:2.3:a:xwiki:xwiki:6.4:milestone3:*:*:*:*:*:*:

Social Mentions

Source Title Posted (UTC)
Reddit Logo Icon /r/netcve CVE-2022-41931 2022-11-23 20:38:41
© CVE.report 2023 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report