Advisory

GHSA-m3m3-6gww-7gj9

Also known as: CVE-2022-39297

Summary

melisplatform/melis-cms vulnerable to deserialization of untrusted data

Details

Impact

Attackers can deserialize arbitrary data on affected versions of melisplatform/melis-cms, and ultimately leads to the execution of arbitrary PHP code on the system. Conducting this attack does not require authentication.

Users should immediately upgrade to melisplatform/melis-cms >= 5.0.1.

Patches

This issue was addressed by restricting allowed classes when deserializing user-controlled data.

References

  • https://github.com/melisplatform/melis-cms/commit/d124b2474699a679a24ec52620cadceb3d4cec11

For more information

If you have any questions or comments about this advisory, you can contact:

  • The original reporters, by sending an email to vulnerability.research [at] sonarsource.com;
  • The maintainers, by opening an issue on this repository.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-10-11 20:45 UTC
Modified
2023-11-08 04:10 UTC

Affected packages and fixes

melisplatform/melis-cms

Packagist · All systems

Affected

  • introduced 0, fixed 5.0.1 (ecosystem)

Fixed versions

5.0.1

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