diff --git a/advisories/github-reviewed/2023/11/GHSA-jmwm-w2rm-prv9/GHSA-jmwm-w2rm-prv9.json b/advisories/github-reviewed/2023/11/GHSA-jmwm-w2rm-prv9/GHSA-jmwm-w2rm-prv9.json new file mode 100644 index 00000000000..561799e7e05 --- /dev/null +++ b/advisories/github-reviewed/2023/11/GHSA-jmwm-w2rm-prv9/GHSA-jmwm-w2rm-prv9.json @@ -0,0 +1,70 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-jmwm-w2rm-prv9", + "modified": "2023-11-08T19:15:30Z", + "published": "2023-11-08T18:30:31Z", + "aliases": [ + "CVE-2023-47379" + ], + "summary": "Microweber Cross-site Scripting vulnerability", + "details": "Microweber CMS prior to version 2.0.3 is vulnerable to stored Cross Site Scripting (XSS) via the profile picture file upload functionality.", + "severity": [ + + ], + "affected": [ + { + "package": { + "ecosystem": "Packagist", + "name": "microweber/microweber" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "2.0.3" + } + ] + } + ] + } + ], + "references": [ + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-47379" + }, + { + "type": "WEB", + "url": "https://github.com/microweber/microweber/commit/a481f079d74e82f6094abf15d67e814349d1038a" + }, + { + "type": "WEB", + "url": "https://github.com/microweber/microweber/commit/c6e7ea9d0abd7564a3bb23c14ad172e4ccf27a7e#diff-fac4e7e9eca69c10d074bf8c5eac7f64b018c6b4d91dcad54b340a8560049e00" + }, + { + "type": "PACKAGE", + "url": "https://github.com/microweber/microweber" + }, + { + "type": "WEB", + "url": "https://github.com/microweber/microweber/blob/master/CHANGELOG.md" + }, + { + "type": "WEB", + "url": "https://www.getastra.com/blog/security-audit/stored-xss-vulnerability/" + } + ], + "database_specific": { + "cwe_ids": [ + + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2023-11-08T19:15:30Z", + "nvd_published_at": "2023-11-08T17:15:07Z" + } +} \ No newline at end of file diff --git a/advisories/github-reviewed/2023/11/GHSA-r2xv-vpr2-42m9/GHSA-r2xv-vpr2-42m9.json b/advisories/github-reviewed/2023/11/GHSA-r2xv-vpr2-42m9/GHSA-r2xv-vpr2-42m9.json new file mode 100644 index 00000000000..3305b57d8c7 --- /dev/null +++ b/advisories/github-reviewed/2023/11/GHSA-r2xv-vpr2-42m9/GHSA-r2xv-vpr2-42m9.json @@ -0,0 +1,92 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-r2xv-vpr2-42m9", + "modified": "2023-11-08T19:15:55Z", + "published": "2023-11-08T19:15:55Z", + "aliases": [ + + ], + "summary": "slsa-verifier vulnerable to mproper validation of npm's publish attestations", + "details": "### Summary\n\n`slsa-verifier<=2.4.0` does not correctly verify npm's [publish](https://github.com/npm/attestation/tree/main/specs/publish/v0.1) attestations signature.\n\n### Proof of concept\n\nSteps to reproduce:\n1. `curl -Sso attestations.json $(npm view @trishankatdatadog/supreme-goggles --json | jq -r '.dist.attestations.url')`\n2. `curl -Sso supreme-goggles.tgz \"$(npm view @trishankatdatadog/supreme-goggles --json | jq -r '.dist.tarball')\"`\n3. In `attestations.json`, take the value addressed by the `jq` selector `.attestations[0].bundle.dsseEnvelope.payload`, base64decode it, tamper with it, base64encode that, and replace the original value with that. Save the file as `attestations_tampered.json`.\n Here is an example command to replace the package name with `@attacker/malicious`:\n `jq -r \".attestations[0].bundle.dsseEnvelope.payload = \\\"$(jq -r '.attestations[0].bundle.dsseEnvelope.payload | @base64d' < attestations.json | jq '.subject[0].name = \"pkg:npm/%40attacker/malicious\"' | base64 -w0)\\\"\" < attestations.json > attestations_tampered.json`\n5. `SLSA_VERIFIER_EXPERIMENTAL=1 slsa-verifier verify-npm-package supreme-goggles.tgz --attestations-path attestations_tampered.json --builder-id \"https://github.com/actions/runner/github-hosted\" --package-name \"@trishankatdatadog/supreme-goggles\" --package-version 1.0.5 --source-uri github.com/trishankatdatadog/supreme-goggles`\n6. The result is that `slsa-verifier` fails to detect this tampering of the publish attestation (unlike with the provenance attestation) and returns `PASSED`.\n\n### Impact\n\nAn attacker who controls what packages and attestations are shown to a user _can_ associate a package with an arbitrary name and version that do _not_ match what the user expects from the publish attestation. Furthermore, the package digest in the publish attestation need _not_ match its counterpart in the provenance attestation. However, the attacker _cannot_ associate the given package with an arbitrary source and builder that the user does not expect from the provenance attestation. Thus, the attacker could, for example, convince package managers to install authentic but older versions of packages that contain known, exploitable vulnerabilities.\n\nSeverity is considered low because 1) it does not invalidate the provenance and 2) support for npm is currently experimental.\n\n### Patches\n\nPR [#705](https://github.com/slsa-framework/slsa-verifier/pull/705) should fix this issue which, in turn, should not exist in `>2.4.0`.\n\n### Workarounds\n\nThere is no easy way for users to fix or remediate this vulnerability without upgrading, short of verifying npm's publish attestations themselves, _and_ cross-verifying it against GHA's provenance attestations.\n\n### References\n\n* [Original OpenSSF Slack thread](https://openssf.slack.com/archives/C03PDLFET5W/p1695330038983179)\n", + "severity": [ + + ], + "affected": [ + { + "package": { + "ecosystem": "Go", + "name": "github.com/slsa-framework/slsa-verifier/v2" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "2.4.1-rc.0" + } + ] + } + ], + "database_specific": { + "last_known_affected_version_range": "<= 2.4.0" + } + }, + { + "package": { + "ecosystem": "Go", + "name": "github.com/slsa-framework/slsa-verifier" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "last_affected": "1.4.1" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/slsa-framework/slsa-verifier/security/advisories/GHSA-r2xv-vpr2-42m9" + }, + { + "type": "WEB", + "url": "https://github.com/slsa-framework/slsa-verifier/pull/705" + }, + { + "type": "WEB", + "url": "https://github.com/slsa-framework/slsa-verifier/commit/f6ae402f458b347d2c414f1d053fc1f8257888d0" + }, + { + "type": "WEB", + "url": "https://github.com/npm/attestation/tree/main/specs/publish/v0.1" + }, + { + "type": "PACKAGE", + "url": "https://github.com/slsa-framework/slsa-verifier" + }, + { + "type": "WEB", + "url": "https://openssf.slack.com/archives/C03PDLFET5W/p1695330038983179" + } + ], + "database_specific": { + "cwe_ids": [ + + ], + "severity": "LOW", + "github_reviewed": true, + "github_reviewed_at": "2023-11-08T19:15:55Z", + "nvd_published_at": null + } +} \ No newline at end of file diff --git a/advisories/unreviewed/2023/11/GHSA-jmwm-w2rm-prv9/GHSA-jmwm-w2rm-prv9.json b/advisories/unreviewed/2023/11/GHSA-jmwm-w2rm-prv9/GHSA-jmwm-w2rm-prv9.json deleted file mode 100644 index cc38ccf066d..00000000000 --- a/advisories/unreviewed/2023/11/GHSA-jmwm-w2rm-prv9/GHSA-jmwm-w2rm-prv9.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "schema_version": "1.4.0", - "id": "GHSA-jmwm-w2rm-prv9", - "modified": "2023-11-08T18:30:31Z", - "published": "2023-11-08T18:30:31Z", - "aliases": [ - "CVE-2023-47379" - ], - "details": "Microweber CMS version 2.0.1 is vulnerable to stored Cross Site Scripting (XSS) via the profile picture file upload functionality.", - "severity": [ - - ], - "affected": [ - - ], - "references": [ - { - "type": "ADVISORY", - "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-47379" - }, - { - "type": "WEB", - "url": "https://github.com/microweber/microweber/commit/c6e7ea9d0abd7564a3bb23c14ad172e4ccf27a7e#diff-fac4e7e9eca69c10d074bf8c5eac7f64b018c6b4d91dcad54b340a8560049e00" - }, - { - "type": "WEB", - "url": "https://github.com/microweber/microweber/blob/master/CHANGELOG.md" - }, - { - "type": "WEB", - "url": "https://www.getastra.com/blog/security-audit/stored-xss-vulnerability/" - } - ], - "database_specific": { - "cwe_ids": [ - - ], - "severity": null, - "github_reviewed": false, - "github_reviewed_at": null, - "nvd_published_at": "2023-11-08T17:15:07Z" - } -} \ No newline at end of file