VDB
Sign up
HIGH

GHSA-pv2v-6w2v-97x6

Concrete CMS Vulnerable to Deserialization of Untrusted Data

Quick fix

GHSA-pv2v-6w2v-97x6 — concrete5/concrete5: upgrade to the fixed version with the command below.

composer require concrete5/concrete5:^9.5.1

Details

Concrete CMS 9.5.0 and below is vulnerable to Remote Code Execution due to insecure deserialization occurring in the ExpressEntryList block controller. An rogue administrator with privileges to add blocks to an area can bypass the intended protection mechanism (_fromCIF === true), which normally restricts malicious inputs over form POST requests, by leveraging the REST API functionality. Because the REST API parses requests using json_decode(), the string "true" is evaluated as a strict PHP Boolean(true).  This bypass allows the attacker to inject a malicious serialized payload  into the block's filterFields database column. The payload will subsequently be executed when the block's data is viewed or edited by an administrator leading to complete server takeover (RCE). Concrete CMS thanks Nguyễn Văn Thiện https://github.com/Thien225409  for reporting this issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/concrete5/concrete5
Introduced in: 0Fixed in: 9.5.1
Fixcomposer require concrete5/concrete5:^9.5.1

References