ghsa-v287-9w3v-x5c5
Vulnerability from github
Published
2022-05-24 16:55
Modified
2023-07-17 23:14
Severity ?
Summary
Total.js CMS RCE Vulnerability
Details

An issue was discovered in Total.js CMS 12.0.0. An authenticated user with the widgets privilege can gain achieve Remote Command Execution (RCE) on the remote server by creating a malicious widget with a special tag containing JavaScript code that will be evaluated server side. In the process of evaluating the tag by the back-end, it is possible to escape the sandbox object by using the following payload: <script total>global.process.mainModule.require(child_process).exec(RCE);</script>

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "total4"
      },
      "versions": [
        "12.0.0"
      ]
    }
  ],
  "aliases": [
    "CVE-2019-15954"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-77",
      "CWE-862"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-17T23:14:57Z",
    "nvd_published_at": "2019-09-05T19:16:00Z",
    "severity": "CRITICAL"
  },
  "details": "An issue was discovered in Total.js CMS 12.0.0. An authenticated user with the widgets privilege can gain achieve Remote Command Execution (RCE) on the remote server by creating a malicious widget with a special tag containing JavaScript code that will be evaluated server side. In the process of evaluating the tag by the back-end, it is possible to escape the sandbox object by using the following payload: `\u003cscript total\u003eglobal.process.mainModule.require(child_process).exec(RCE);\u003c/script\u003e`",
  "id": "GHSA-v287-9w3v-x5c5",
  "modified": "2023-07-17T23:14:57Z",
  "published": "2022-05-24T16:55:31Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-15954"
    },
    {
      "type": "WEB",
      "url": "https://github.com/beerpwn/CVE/blob/master/Totaljs_disclosure_report/report_final.pdf"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/totaljs/cms"
    },
    {
      "type": "WEB",
      "url": "https://seclists.org/fulldisclosure/2019/Sep/5"
    },
    {
      "type": "WEB",
      "url": "http://packetstormsecurity.com/files/154924/Total.js-CMS-12-Widget-JavaScript-Code-Injection.html"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Total.js CMS RCE Vulnerability"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.