Publish Advisories

GHSA-pqhq-77pw-763c
GHSA-qx44-885h-7p56
This commit is contained in:
advisory-database[bot]
2024-06-24 20:35:53 +00:00
parent 8025d35f14
commit 6f339fe620
2 changed files with 48 additions and 8 deletions
@@ -1,11 +1,12 @@
{
"schema_version": "1.4.0",
"id": "GHSA-pqhq-77pw-763c",
"modified": "2024-06-22T06:30:36Z",
"modified": "2024-06-24T20:35:32Z",
"published": "2024-06-22T06:30:36Z",
"aliases": [
"CVE-2024-21516"
],
"summary": "Cross site scripting in opencart",
"details": "This affects versions of the package opencart/opencart from 4.0.0.0. A reflected XSS issue was identified in the directory parameter of admin common/filemanager.list route. An attacker could obtain a user's token by tricking the user to click on a maliciously crafted URL. The user is then prompted to login and redirected again upon authentication with the payload automatically executing. If the attacked user has admin privileges, this vulnerability could be used as the start of a chain of exploits like Zip Slip or arbitrary file write vulnerabilities in the admin functionality.\n\n**Notes:**\n\n1) This is only exploitable if the attacker knows the name or path of the admin directory. The name of the directory is \"admin\" by default but there is a pop-up in the dashboard warning users to rename it.\n\n2) The fix for this vulnerability is incomplete. The redirect is removed so that it is not possible for an attacker to control the redirect post admin login anymore, but it is still possible to exploit this issue in admin if the user is authenticated as an admin already.",
"severity": [
{
@@ -14,7 +15,22 @@
}
],
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "opencart/opencart"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.0.0.0"
}
]
}
]
}
],
"references": [
{
@@ -25,6 +41,10 @@
"type": "WEB",
"url": "https://github.com/opencart/opencart/commit/c546199e8f100c1f3797a7a9d3cf4db1887399a2"
},
{
"type": "PACKAGE",
"url": "https://github.com/opencart/opencart"
},
{
"type": "WEB",
"url": "https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266576"
@@ -35,8 +55,8 @@
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": false,
"github_reviewed_at": null,
"github_reviewed": true,
"github_reviewed_at": "2024-06-24T20:35:32Z",
"nvd_published_at": "2024-06-22T05:15:10Z"
}
}
@@ -1,11 +1,12 @@
{
"schema_version": "1.4.0",
"id": "GHSA-qx44-885h-7p56",
"modified": "2024-06-22T06:30:36Z",
"modified": "2024-06-24T20:34:37Z",
"published": "2024-06-22T06:30:36Z",
"aliases": [
"CVE-2024-21515"
],
"summary": "Cross site scripting in opencart",
"details": "This affects versions of the package opencart/opencart from 4.0.0.0. A reflected XSS issue was identified in the filename parameter of the admin tool/log route. An attacker could obtain a user's token by tricking the user to click on a maliciously crafted URL. The user is then prompted to login and redirected again upon authentication with the payload automatically executing. If the attacked user has admin privileges, this vulnerability could be used as the start of a chain of exploits like Zip Slip or arbitrary file write vulnerabilities in the admin functionality.\n\n**Notes:**\n\n1) This is only exploitable if the attacker knows the name or path of the admin directory. The name of the directory is \"admin\" by default but there is a pop-up in the dashboard warning users to rename it.\n\n2) The fix for this vulnerability is incomplete. The redirect is removed so that it is not possible for an attacker to control the redirect post admin login anymore, but it is still possible to exploit this issue in admin if the user is authenticated as an admin already.",
"severity": [
{
@@ -14,7 +15,22 @@
}
],
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "opencart/opencart"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.0.0.0"
}
]
}
]
}
],
"references": [
{
@@ -25,6 +41,10 @@
"type": "WEB",
"url": "https://github.com/opencart/opencart/commit/c546199e8f100c1f3797a7a9d3cf4db1887399a2"
},
{
"type": "PACKAGE",
"url": "https://github.com/opencart/opencart"
},
{
"type": "WEB",
"url": "https://security.snyk.io/vuln/SNYK-PHP-OPENCARTOPENCART-7266573"
@@ -35,8 +55,8 @@
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": false,
"github_reviewed_at": null,
"github_reviewed": true,
"github_reviewed_at": "2024-06-24T20:34:36Z",
"nvd_published_at": "2024-06-22T05:15:10Z"
}
}