From 7ee2d99b2727f272f73d676339516d07bbba5f61 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Thu, 5 Jun 2025 01:09:33 +0000 Subject: [PATCH] Publish GHSA-fvx2-x7ff-fc56 --- .../GHSA-fvx2-x7ff-fc56.json | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 advisories/github-reviewed/2025/06/GHSA-fvx2-x7ff-fc56/GHSA-fvx2-x7ff-fc56.json diff --git a/advisories/github-reviewed/2025/06/GHSA-fvx2-x7ff-fc56/GHSA-fvx2-x7ff-fc56.json b/advisories/github-reviewed/2025/06/GHSA-fvx2-x7ff-fc56/GHSA-fvx2-x7ff-fc56.json new file mode 100644 index 00000000000..edf74c5bc81 --- /dev/null +++ b/advisories/github-reviewed/2025/06/GHSA-fvx2-x7ff-fc56/GHSA-fvx2-x7ff-fc56.json @@ -0,0 +1,65 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-fvx2-x7ff-fc56", + "modified": "2025-06-05T01:07:47Z", + "published": "2025-06-05T01:07:47Z", + "aliases": [ + "CVE-2025-48996" + ], + "summary": "Unauthenticated Disclosure of PSU HAX CMS Site Listings via haxPsuUsage API Endpoint", + "details": "### Summary\nAn **unauthenticated information disclosure vulnerability** exists in the PSU deployment of HAX CMS via the `haxPsuUsage` API endpoint. This allows **any remote unauthenticated user** to retrieve a full list of PSU websites hosted on HAX CMS. When chained with other authorization issues (e.g., HAX-3), this could assist in targeted attacks such as unauthorized content modification or deletion.\n\n---\n\n### Details\nThe endpoint [`https://open-apis.hax.cloud/api/services/stats/haxPsuUsage`](https://open-apis.hax.cloud/api/services/stats/haxPsuUsage) returns a list of websites on the PSU instance of HAX CMS. This endpoint is exposed without any authentication or authorization checks.\n\nThe source of the issue is in the `haxPsuUsage.js` file, which appears to directly serve the site listing without verifying user identity or access level. This enables anyone with the endpoint URL to enumerate all site instances under the PSU deployment.\n\nThis endpoint may have originally been used for internal or statistical purposes but is now publicly accessible, representing a privacy and enumeration risk.\n\n---\n\n### PoC\nTo reproduce this vulnerability:\n\n1. Open a terminal or browser.\n2. Send a GET request to the following endpoint:\n ```bash\n curl https://open-apis.hax.cloud/api/services/stats/haxPsuUsage\n\n---\n\n### Impact\n\nThe `haxPsuUsage` endpoint exposes a full list of PSU HAX CMS websites to **any unauthenticated user**, allowing external actors to enumerate all sites under the PSU domain. This alone represents an information disclosure vulnerability.\n\nWhen **chained with the Lack Of Authorization Checks CVE**, which involves missing authorization checks on key API endpoints, the risk escalates significantly. An **authenticated attacker** can:\n\n- Modify or delete other users' sites via:\n - `createNode()`, `saveNode()`, `deleteNode()`\n- Access sensitive metadata or credentials:\n - `getConfig()`, `downloadSite()`\n- Clone or remove entire sites:\n - `cloneSite()`, `deleteSite()`, `archiveSite()`\n\nCombined, these issues allow a low-privileged user to **fully compromise any site** in the PSU HAX CMS instance.\n\nThis vulnerability chain puts **content integrity, availability, and confidentiality** at risk for potentially hundreds of PSU academic, instructional, and departmental sites.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "npm", + "name": "@haxtheweb/open-apis" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "last_affected": "10.0.1" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/haxtheweb/issues/security/advisories/GHSA-fvx2-x7ff-fc56" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-48996" + }, + { + "type": "WEB", + "url": "https://github.com/haxtheweb/open-apis/commit/06c2e1fbb7131a8fe66aa0600f38dcacae6b7ac7" + }, + { + "type": "PACKAGE", + "url": "https://github.com/haxtheweb/issues" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-201" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2025-06-05T01:07:47Z", + "nvd_published_at": "2025-06-02T20:15:23Z" + } +} \ No newline at end of file