Advisory

GHSA-vx6j-pjrh-vgjh

Also known as: CVE-2021-43836

Summary

PHP file inclusion in the Sulu admin panel

Details

Impact
_What kind of vulnerability is it? Who is impacted?_

An attacker can read arbitrary local files via a PHP file include. In a default configuration this also leads to remote code execution.

  • Compromised components: Arbitrary file read on the server, (Potential) Remote code execution
  • Exploitation pre-requisite: User account on the backend

Patches

_Has the problem been patched? What versions should users upgrade to?_

The problem is patched with the Versions 1.6.44, 2.2.18, 2.3.8, 2.4.0

Workarounds

_Is there a way for users to fix or remediate the vulnerability without upgrading?_

Overwrite the service sulu_route.generator.expression_token_provider and wrap the translator before passing it to the expression language.

References

_Are there any links users can visit to find out more?_

Currently not.

For more information
If you have any questions or comments about this advisory:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-12-15 22:54 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

sulu/sulu

Packagist · All systems

Affected

  • introduced 0, fixed 1.6.44 (ecosystem)

Fixed versions

1.6.44

Fix

The export has no generic command for this ecosystem.

sulu/sulu

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.2.18 (ecosystem)

Fixed versions

2.2.18

Fix

The export has no generic command for this ecosystem.

sulu/sulu

Packagist · All systems

Affected

  • introduced 2.3.0, fixed 2.3.8 (ecosystem)

Fixed versions

2.3.8

Fix

The export has no generic command for this ecosystem.

sulu/sulu

Packagist · All systems

Affected

  • introduced 2.4.0-RC1, fixed 2.4.0 (ecosystem)

Fixed versions

2.4.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences