From e81459b59ee7619fd2d4b20ed3f43709b2f3ef80 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 19:58:01 +0000 Subject: [PATCH] Publish Advisories GHSA-h8h6-7752-g28c GHSA-wc79-7x8x-2p58 --- .../GHSA-h8h6-7752-g28c.json | 65 +++++++++++++++++ .../GHSA-wc79-7x8x-2p58.json | 69 +++++++++++++++++++ 2 files changed, 134 insertions(+) create mode 100644 advisories/github-reviewed/2025/03/GHSA-h8h6-7752-g28c/GHSA-h8h6-7752-g28c.json create mode 100644 advisories/github-reviewed/2025/03/GHSA-wc79-7x8x-2p58/GHSA-wc79-7x8x-2p58.json diff --git a/advisories/github-reviewed/2025/03/GHSA-h8h6-7752-g28c/GHSA-h8h6-7752-g28c.json b/advisories/github-reviewed/2025/03/GHSA-h8h6-7752-g28c/GHSA-h8h6-7752-g28c.json new file mode 100644 index 00000000000..bb7bcdbe4b2 --- /dev/null +++ b/advisories/github-reviewed/2025/03/GHSA-h8h6-7752-g28c/GHSA-h8h6-7752-g28c.json @@ -0,0 +1,65 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-h8h6-7752-g28c", + "modified": "2025-03-03T19:55:33Z", + "published": "2025-03-03T19:55:33Z", + "aliases": [ + "CVE-2025-27408" + ], + "summary": "Manifest Uses a One-Way Hash without a Salt", + "details": "### Summary\nManifest employs a weak password hashing implementation that uses SHA3 without a salt. This exposes user passwords to a higher risk of being cracked if an attacker gains access to the database. Without the use of a salt, identical passwords across multiple users will result in the same hash, making it easier for attackers to identify and exploit patterns, thereby accelerating the cracking process.\n\n### Details\nAnalysis of the application source code reveals that user passwords are hashed using the SHA3 algorithm without implementing a unique salt per user.\n```\nconst newUser: AuthenticableEntity = entityRepository.create(signupUserDto)\nnewUser.password = SHA3(newUser.password).toString()\n```\nThis approach results in deterministic password hashes, which can be identified by comparing the hashes for users with matching credentials.\n\n![password without salt](https://github.com/user-attachments/assets/8ce816ab-0351-44d4-9aa3-717266441d6e)\n\n\n### PoC\n1. Create two users with the same password (it could be admin or any other authenticatable entity)\n2. Extract their password hashes from the database\n3. Verify that both hashes are identical, confirming the absence of unique salts\n\n### Impact\nThis is a cryptographic weakness vulnerability that affects all users of the system. The lack of a unique salt when hashing passwords reduces protection against database breaches, as attackers who gain access to the database can more efficiently crack user passwords. Since identical passwords result in identical hashes, attackers can use precomputed hash databases (e.g., Rainbow Tables) or offline brute-force attacks to reverse the hashes and obtain user passwords, increasing the risk of compromised accounts and further system exploitation.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "npm", + "name": "manifest" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "4.9.1" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/mnfst/manifest/security/advisories/GHSA-h8h6-7752-g28c" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-27408" + }, + { + "type": "WEB", + "url": "https://github.com/mnfst/manifest/commit/3ed6f1324e96ad469ad929d470dcd0cc386c6c69" + }, + { + "type": "PACKAGE", + "url": "https://github.com/mnfst/manifest" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-759" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2025-03-03T19:55:33Z", + "nvd_published_at": "2025-02-28T18:15:28Z" + } +} \ No newline at end of file diff --git a/advisories/github-reviewed/2025/03/GHSA-wc79-7x8x-2p58/GHSA-wc79-7x8x-2p58.json b/advisories/github-reviewed/2025/03/GHSA-wc79-7x8x-2p58/GHSA-wc79-7x8x-2p58.json new file mode 100644 index 00000000000..712f576cfaa --- /dev/null +++ b/advisories/github-reviewed/2025/03/GHSA-wc79-7x8x-2p58/GHSA-wc79-7x8x-2p58.json @@ -0,0 +1,69 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-wc79-7x8x-2p58", + "modified": "2025-03-03T19:56:58Z", + "published": "2025-03-03T19:56:58Z", + "aliases": [ + "CVE-2025-27414" + ], + "summary": "MinIO allows an SFTP authentication bypass due to improperly trusted SSH key", + "details": "### Summary\n_A bug in evaluating the trust of the SSH key used in an SFTP connection to MinIO allows authentication bypass and unauthorized data access._\n\n### Details\n\nOn a MinIO server with SFTP access configured and using LDAP as an external identity provider, MinIO supports SSH key based authentication for SFTP connections when the user has the `sshPublicKey` attribute set in their LDAP server. The server trusts the client's key only when the public key is the same as the `sshPublicKey` attribute.\n\nDue to the bug, when the user has no `sshPublicKey` property in LDAP, the server ends up trusting the key allowing the client to perform any FTP operations allowed by the MinIO access policies associated with the LDAP user (or any of their groups).\n\nThe bug was introduced in https://github.com/minio/minio/commit/91e1487de45720753c9e9e4c02b1bd16b7e452fa.\n\n### Impact\n\nThe following requirements must be met to exploit this vulnerability:\n\n1. MinIO server must be configured to allow SFTP access and use LDAP as an external identity provider.\n2. Knowledge of an LDAP username that does not have the `sshPublicKey` property set.\n3. Such an LDAP username or one of their groups must also have some MinIO access policy configured.\n\nWhen this bug is successfully exploited, the attacker can perform any FTP operations (i.e. reading, writing, deleting and listing objects) allowed by the access policy associated with the LDAP user account (and their groups).", + "severity": [ + { + "type": "CVSS_V4", + "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Go", + "name": "github.com/minio/minio" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0.0.0-20240605075113-91e1487de457" + }, + { + "fixed": "0.0.0-20250227184332-4c71f1b4ec0f" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/minio/minio/security/advisories/GHSA-wc79-7x8x-2p58" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-27414" + }, + { + "type": "WEB", + "url": "https://github.com/minio/minio/commit/4c71f1b4ec0fb2a473ddaac18c20ec9e63f267ec" + }, + { + "type": "WEB", + "url": "https://github.com/minio/minio/commit/91e1487de45720753c9e9e4c02b1bd16b7e452fa" + }, + { + "type": "PACKAGE", + "url": "https://github.com/minio/minio" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-287" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2025-03-03T19:56:58Z", + "nvd_published_at": "2025-02-28T21:15:27Z" + } +} \ No newline at end of file