pysec-2024-49
Vulnerability from pysec
Published
2024-03-27 06:15
Modified
2024-03-27 11:18
Details

Lektor before 3.3.11 does not sanitize DB path traversal. Thus, shell commands might be executed via a file that is added to the templates directory, if the victim's web browser accesses an untrusted website that uses JavaScript to send requests to localhost port 5000, and the web browser is running on the same machine as the "lektor server" command.

Aliases



{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "lektor",
        "purl": "pkg:pypi/lektor"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.3.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.96",
        "1.0",
        "1.1",
        "1.2",
        "1.2.1",
        "2.0",
        "2.1",
        "2.2",
        "2.3",
        "3.0",
        "3.0.1",
        "3.1",
        "3.1.0.dev1",
        "3.1.1",
        "3.1.2",
        "3.1.3",
        "3.2.0",
        "3.2.1",
        "3.2.2",
        "3.2.3",
        "3.2.dev0",
        "3.3.0",
        "3.3.1",
        "3.3.10",
        "3.3.2",
        "3.3.3",
        "3.3.4",
        "3.3.5",
        "3.3.6",
        "3.3.7",
        "3.3.8",
        "3.3.9"
      ]
    }
  ],
  "aliases": [
    "CVE-2024-28335"
  ],
  "details": "Lektor before 3.3.11 does not sanitize DB path traversal. Thus, shell commands might be executed via a file that is added to the templates directory, if the victim\u0027s web browser accesses an untrusted website that uses JavaScript to send requests to localhost port 5000, and the web browser is running on the same machine as the \"lektor server\" command.",
  "id": "PYSEC-2024-49",
  "modified": "2024-03-27T11:18:36.506150+00:00",
  "published": "2024-03-27T06:15:00+00:00",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/lektor/lektor/pull/1179/commits/8f38b9713d152622b69ff5e3b1e6a0d7bb7fa800"
    },
    {
      "type": "WEB",
      "url": "https://github.com/lektor/lektor/releases/tag/v3.3.11"
    },
    {
      "type": "WEB",
      "url": "https://cxsecurity.com/issue/WLB-2024030043"
    },
    {
      "type": "WEB",
      "url": "https://packetstormsecurity.com/files/177708/Lektor-Static-CMS-3.3.10-Arbitrary-File-Upload-Remote-Code-Execution.html"
    },
    {
      "type": "WEB",
      "url": "https://getlektor.com/docs/quickstart"
    },
    {
      "type": "WEB",
      "url": "https://brave.com/privacy-updates/27-localhost-permission/"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...