Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-9jr9-8ff3-m894

Опубликовано: 25 июл. 2025
Источник: github
Github: Прошло ревью
CVSS3: 8.3

Описание

HAX CMS API Lacks Authorization Checks

Summary

The HAX CMS API endpoints do not perform authorization checks when interacting with a resource. Both the JS and PHP versions of the CMS do not verify that a user has permission to interact with a resource before performing a given operation.

Details

The API endpoints within the HAX CMS application check if a user is authenticated, but don't check for authorization before performing an operation.

Affected Resources

Note: This may not include all affected endpoints within the application.

Impact

An authenticated attacker can make requests to interact with other users' sites. This can be used to enumerate, modify, and delete other users' sites and nodes.

Additionally, an authenticated attacker can use the 'getConfig' endpoint to pull the application's configuration, which may store cleartext credentials.

PoC - /deleteNode

  1. Browse to the 'site.json' file for a target site, and note the ID of the item to delete.

image

  1. Make a POST request to the 'deleteNode' endpoint with a valid JWT and the target object ID.

image

Site before editing:

image

Site after editing:

image

Пакеты

Наименование

@haxtheweb/haxcms-nodejs

npm
Затронутые версииВерсия исправления

< 11.0.14

11.0.14

Наименование

elmsln/haxcms

composer
Затронутые версииВерсия исправления

< 11.0.14

11.0.14

EPSS

Процентиль: 19%
0.00061
Низкий

8.3 High

CVSS3

Дефекты

CWE-285
CWE-862

Связанные уязвимости

CVSS3: 8.3
nvd
7 месяцев назад

HAX CMS allows you to manage your microsite universe with PHP or NodeJs backends. In versions 11.0.13 and below of haxcms-nodejs and versions 11.0.8 and below of haxcms-php, API endpoints do not perform authorization checks when interacting with a resource. Both the JS and PHP versions of the CMS do not verify that a user has permission to interact with a resource before performing a given operation. The API endpoints within the HAX CMS application check if a user is authenticated, but don't check for authorization before performing an operation. This is fixed in versions 11.0.14 of haxcms-nodejs and 11.0.9 of haxcms-php.

EPSS

Процентиль: 19%
0.00061
Низкий

8.3 High

CVSS3

Дефекты

CWE-285
CWE-862