GHSA-6cj3-rc4p-f38f

Suggest an improvement
Source
https://github.com/advisories/GHSA-6cj3-rc4p-f38f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-6cj3-rc4p-f38f/GHSA-6cj3-rc4p-f38f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6cj3-rc4p-f38f
Published
2024-05-17T23:04:02Z
Modified
2024-05-17T23:04:02Z
Summary
Cross-site Scripting vulnerabilities in Neos
Details

It has been discovered that Neos is vulnerable to several XSS attacks. Through these vulnerabilities, an attacker could tamper with page rendering, redirect victims to a fake login page, or capture user credentials (such as cookies). With the potential backdoor upload an attacker could gain access to the server itself, to an extent mainly limited by the server setup.

Reflected Cross-Site Scripting (SXSS) with authentication

A Neos backend user with permission to modify content can insert JavaScript instructions into content elements. The browser will execute the script in "Print" preview mode. A Neos backend user who can modify his profile information ("Title", "First Name", "Last name", "Middle Name", "Other Name") can inject JavaScript instructions in those parameters. Once set up, an administrator who wants to edit this user account will execute the code. Both attack vectors require a valid Neos backend user account.

Reflected Cross-Site Scripting (RXSS) without authentication

A non-persistent XSS using parameters passed during plugin execution is possible. If invalid parameters are passed, an error message may be shown (depending on the context Neos runs in and how the parameters are handled) that contains the unescaped parameter value.

Note: Through the HTML content type the inclusion of arbitrary JavaScript is still possible for users with a valid Neos backend account. If you want to prohibit that, disable the nodetype or restrict access.

Potential backdoor upload

Through an issue with the underlying Flow framework (see the related Flow advisory Flow-SA-2015-001) any editor with access to the Media Management module can upload server side script files (when using Neos 2.0.x). If those scripts are executed by the server when accessed through their public URL, anything not blocked through other means is possible (information disclosure, placement of backdoors, data removal, …).

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-05-17T23:04:02Z"
}
References

Affected packages

Packagist / neos/neos

Package

Name
neos/neos
Purl
pkg:composer/neos/neos

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.2.0
Fixed
1.2.13

Packagist / neos/neos

Package

Name
neos/neos
Purl
pkg:composer/neos/neos

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.0.4