GHSA-CR3Q-658V-QV3X

Vulnerability from github – Published: 2022-05-14 02:19 – Updated: 2024-04-25 22:27
VLAI
Summary
OpenCart-Overclocked Cross-site Scripting Vulnerability
Details

Reflected Cross-Site Scripting (XSS) may allow an attacker to execute JavaScript code in the context of the victim’s browser. This may lead to unauthorised actions being performed, unauthorised access to data, stealing of session information, denial of service, etc. An attacker needs to coerce a user into visiting a link with the XSS payload to be properly exploited against a victim.

The OpenCart Overclocked OpenBay template overly trusts user-controlled input. This lack of sufficient sanitisation allows an attacker to execute JavaScript code in the context of a victim’s browser.

The code below displays unsanitised input being displayed on the victim’s page (found on line 95 upload/admin/view/template/extension/openbay.tpl#L95):

var token = "<?php echo $_GET['token']; ?>"; 
Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "villagedefrance/opencart-overclocked"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1.11.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2018-1000640"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-25T22:27:10Z",
    "nvd_published_at": "2018-08-20T19:31:00Z",
    "severity": "MODERATE"
  },
  "details": "Reflected Cross-Site Scripting (XSS) may allow an attacker to execute JavaScript code in the context of the victim\u2019s browser. This may lead to unauthorised actions being performed, unauthorised access to data, stealing of session information, denial of service, etc. An attacker needs to coerce a user into visiting a link with the XSS payload to be properly exploited against a victim.\n\nThe OpenCart Overclocked OpenBay template overly trusts user-controlled input. This lack of sufficient sanitisation allows an attacker to execute JavaScript code in the context of a victim\u2019s browser.\n\nThe code below displays unsanitised input being displayed on the victim\u2019s page (found on line 95 [upload/admin/view/template/extension/openbay.tpl#L95](https://github.com/villagedefrance/OpenCart-Overclocked/blob/2f98e839f84beb0ed8dd11d7c0f6eb1501d44969/upload/admin/view/template/extension/openbay.tpl#L95)):\n\n```php\nvar token = \"\u003c?php echo $_GET[\u0027token\u0027]; ?\u003e\"; \n```",
  "id": "GHSA-cr3q-658v-qv3x",
  "modified": "2024-04-25T22:27:10Z",
  "published": "2022-05-14T02:19:50Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000640"
    },
    {
      "type": "WEB",
      "url": "https://github.com/villagedefrance/OpenCart-Overclocked/issues/190"
    },
    {
      "type": "WEB",
      "url": "https://github.com/418sec/OpenCart-Overclocked/pull/1"
    },
    {
      "type": "WEB",
      "url": "https://0dd.zone/2018/08/05/OpenCart-Overclocked-Reflected-XSS"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/villagedefrance/OpenCart-Overclocked"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "OpenCart-Overclocked Cross-site Scripting Vulnerability"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…