CVE-2023-6654 PHPEMS Session Data session.cls.php deserialization

Medium 6.3 Published Updated

Remote attackers can exploit unsafe deserialization in PHPEMS session handling to potentially execute arbitrary code.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-6654?

CVE-2023-6654 is a medium-severity unsafe deserialization vulnerability in PHPEMS, published on 10 Dec 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability classified as critical was found in PHPEMS 6.x/7.x/8.x/9.0. Affected by this vulnerability is an unknown functionality in the library lib/session.cls.php of the component Session Data Handler. The manipulation leads to deserialization. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-247357 was assigned to this vulnerability.

Weakness: CWE-502

Which versions are affected by CVE-2023-6654?

2 open source packages ship an affected version, including phpems/phpems. It affects 1 product.

PackageAffectedFixed in
phpems/phpems PackagistFrom 6.0.0 to 6.1.3None
phpems/phpems PackagistFrom 6.0.0 to 6.1.3None

Products include Phpems Phpems.

How do I fix CVE-2023-6654?

No fix has been published for CVE-2023-6654 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2023-6654 being exploited?

There is no known exploitation of CVE-2023-6654 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-5rv2-vvmf-f7w8.

Is CVE-2023-6654 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free