VDB
Sign up
MEDIUM

GHSA-m87h-jxr6-f82w

Concrete CMS allows unauthorized access because directories can be created with insecure permissions

Quick fix

GHSA-m87h-jxr6-f82w — concrete5/concrete5: upgrade to the fixed version with the command below.

composer require concrete5/concrete5:^8.5.13

Details

Concrete CMS before 8.5.13 and 9.x before 9.2.2 allows unauthorized access because directories can be created with insecure permissions. File creation functions (such as the Mkdir() function) gives universal access (0777) to created folders by default. Excessive permissions can be granted when creating a directory with permissions greater than 0755 or when the permissions argument is not specified.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/concrete5/concrete5
Introduced in: 0Fixed in: 8.5.13
Fixcomposer require concrete5/concrete5:^8.5.13
Packagist/concrete5/concrete5
Introduced in: 9.0.0Fixed in: 9.2.2
Fixcomposer require concrete5/concrete5:^9.2.2

References