Skip to content

PHP file inclusion in the Sulu admin panel

Moderate
alexander-schranz published GHSA-vx6j-pjrh-vgjh Dec 15, 2021

Package

composer sulu/sulu (Composer)

Affected versions

<=1.6.43, <=2.2.17, <=2.3.7, <=2.4.0-RC1

Patched versions

1.6.44, 2.2.18, 2.3.8, 2.4.0

Description

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

Moderate

CVE ID

CVE-2021-43836

Weaknesses

No CWEs