diff --git a/advisories/github-reviewed/2025/06/GHSA-jc7g-x28f-3v3h/GHSA-jc7g-x28f-3v3h.json b/advisories/github-reviewed/2025/06/GHSA-jc7g-x28f-3v3h/GHSA-jc7g-x28f-3v3h.json new file mode 100644 index 00000000000..80ce438201e --- /dev/null +++ b/advisories/github-reviewed/2025/06/GHSA-jc7g-x28f-3v3h/GHSA-jc7g-x28f-3v3h.json @@ -0,0 +1,61 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-jc7g-x28f-3v3h", + "modified": "2025-06-09T13:09:24Z", + "published": "2025-06-09T13:09:24Z", + "aliases": [], + "summary": "listmonk's Sprig template Injection vulnerability leads to reading of Environment Variable for low privilege user", + "details": "### Summary\nThe `env` and `expandenv` template functions which is enabled by default in [Sprig](https://masterminds.github.io/sprig/) enables capturing of env variables on host. While this may not be a problem on single-user (super admin) installations, on multi-user installations, this allows non-super-admin users with campaign or template permissions to use the `{{ env }}` template expression to capture sensitive environment variables.\n\n**Upgrade to [v5.0.2](https://github.com/knadh/listmonk/releases/tag/v5.0.2)** to mitigate.\n\n---------\n\n# Demonstration\n\n### Description\nA critical template injection vulnerability exists in Listmonk's campaign preview functionality that allows authenticated users with minimal privileges (campaigns:get & campaigns:get_all) to extract sensitive system data, including database credentials, SMTP passwords, and admin credentials due to some dangerous function being allowed.\n\n### Proof of Concept\n\n- Create a user and give him `campaigns:get` and `campaigns:get_all` privileges\n\n![image](https://github.com/user-attachments/assets/05333695-14d9-498e-9f73-2137d6eca55b)\n\n- Now login with that user, go to any campaign, go the Content section and here lies the vulnerability, we're able to execute template content which allows us to get environment variables, execute Sprig functions...\n\n- Now in the text field you can input the following and press Preview:\n```\n{{ env \"AWS_KEY\" }}\n{{ env \"LISTMONK_db__user\" }}\n{{ env \"LISTMONK_db__password\" }}\n````\n\n![image](https://github.com/user-attachments/assets/ac963f54-5982-47d4-99d0-59030917f548)\n\n# Preview:\n\n![image](https://github.com/user-attachments/assets/99558ca4-81c6-4e1a-bd0d-6bc57830f4d0)\n\nI had the AWS_KEY variable set like that to confirm the vulnerability:\n\n![image](https://github.com/user-attachments/assets/16382998-2402-436a-9bb0-db09fb13dd79)\n\n### Impact\n\n- Through these environment variables the attacker can access, they can fully compromise the database, cloud accounts, admin credentials, and more depending on what was setup leading to total system takeover and data breach.\n\n### Suggested Fix\n\n- Blacklist some function for templates like env, expandEnv and fail as they can be used to leak environment variables which leads to a full takeover.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Go", + "name": "github.com/knadh/listmonk" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "4.0.0" + }, + { + "fixed": "5.0.2" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/knadh/listmonk/security/advisories/GHSA-jc7g-x28f-3v3h" + }, + { + "type": "WEB", + "url": "https://github.com/knadh/listmonk/commit/d27d2c32cf3af2d0b24e29ea5a686ba149b49b3e" + }, + { + "type": "PACKAGE", + "url": "https://github.com/knadh/listmonk" + }, + { + "type": "WEB", + "url": "https://github.com/knadh/listmonk/releases/tag/v5.0.2" + } + ], + "database_specific": { + "cwe_ids": [], + "severity": "CRITICAL", + "github_reviewed": true, + "github_reviewed_at": "2025-06-09T13:09:24Z", + "nvd_published_at": null + } +} \ No newline at end of file diff --git a/advisories/unreviewed/2025/06/GHSA-r8xr-pgv5-gxw3/GHSA-r8xr-pgv5-gxw3.json b/advisories/github-reviewed/2025/06/GHSA-r8xr-pgv5-gxw3/GHSA-r8xr-pgv5-gxw3.json similarity index 66% rename from advisories/unreviewed/2025/06/GHSA-r8xr-pgv5-gxw3/GHSA-r8xr-pgv5-gxw3.json rename to advisories/github-reviewed/2025/06/GHSA-r8xr-pgv5-gxw3/GHSA-r8xr-pgv5-gxw3.json index 1fbc1129687..07bb59ecc90 100644 --- a/advisories/unreviewed/2025/06/GHSA-r8xr-pgv5-gxw3/GHSA-r8xr-pgv5-gxw3.json +++ b/advisories/github-reviewed/2025/06/GHSA-r8xr-pgv5-gxw3/GHSA-r8xr-pgv5-gxw3.json @@ -1,11 +1,12 @@ { "schema_version": "1.4.0", "id": "GHSA-r8xr-pgv5-gxw3", - "modified": "2025-06-09T06:30:22Z", + "modified": "2025-06-09T13:10:32Z", "published": "2025-06-09T06:30:21Z", "aliases": [ "CVE-2025-25207" ], + "summary": "Authorino Uncontrolled Resource Consumption vulnerability", "details": "The Authorino service in the Red Hat Connectivity Link is the authorization service for zero trust API security. Authorino allows the users with developer persona to add callbacks to be executed to HTTP endpoints once the authorization process is completed. It was found that an attacker with developer persona access can add a large number of those callbacks to be executed by Authorino and as the authentication policy is enforced by a single instance of the service, this leada to a Denial of Service in Authorino while processing the post-authorization callbacks.", "severity": [ { @@ -13,7 +14,27 @@ "score": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H" } ], - "affected": [], + "affected": [ + { + "package": { + "ecosystem": "Go", + "name": "github.com/kuadrant/authorino" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "last_affected": "0.20.0" + } + ] + } + ] + } + ], "references": [ { "type": "ADVISORY", @@ -26,6 +47,10 @@ { "type": "WEB", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2347421" + }, + { + "type": "PACKAGE", + "url": "https://github.com/Kuadrant/authorino" } ], "database_specific": { @@ -33,8 +58,8 @@ "CWE-400" ], "severity": "MODERATE", - "github_reviewed": false, - "github_reviewed_at": null, + "github_reviewed": true, + "github_reviewed_at": "2025-06-09T13:10:32Z", "nvd_published_at": "2025-06-09T06:15:24Z" } } \ No newline at end of file