gsd-2024-28335
Vulnerability from gsd
Modified
2024-03-08 06:02
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



{
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "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": "GSD-2024-28335",
      "modified": "2024-03-08T06:02:46.436186Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2024-28335",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "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."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/lektor/lektor/pull/1179/commits/8f38b9713d152622b69ff5e3b1e6a0d7bb7fa800",
            "refsource": "MISC",
            "url": "https://github.com/lektor/lektor/pull/1179/commits/8f38b9713d152622b69ff5e3b1e6a0d7bb7fa800"
          },
          {
            "name": "https://github.com/lektor/lektor/releases/tag/v3.3.11",
            "refsource": "MISC",
            "url": "https://github.com/lektor/lektor/releases/tag/v3.3.11"
          },
          {
            "name": "https://cxsecurity.com/issue/WLB-2024030043",
            "refsource": "MISC",
            "url": "https://cxsecurity.com/issue/WLB-2024030043"
          },
          {
            "name": "https://packetstormsecurity.com/files/177708/Lektor-Static-CMS-3.3.10-Arbitrary-File-Upload-Remote-Code-Execution.html",
            "refsource": "MISC",
            "url": "https://packetstormsecurity.com/files/177708/Lektor-Static-CMS-3.3.10-Arbitrary-File-Upload-Remote-Code-Execution.html"
          },
          {
            "name": "https://getlektor.com/docs/quickstart",
            "refsource": "MISC",
            "url": "https://getlektor.com/docs/quickstart"
          },
          {
            "name": "https://brave.com/privacy-updates/27-localhost-permission/",
            "refsource": "MISC",
            "url": "https://brave.com/privacy-updates/27-localhost-permission/"
          }
        ]
      }
    },
    "nvd.nist.gov": {
      "cve": {
        "descriptions": [
          {
            "lang": "en",
            "value": "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."
          },
          {
            "lang": "es",
            "value": "Lektor anterior a 3.3.11 no sanitiza el path traversal de la base de datos. Por lo tanto, los comandos de shell pueden ejecutarse a trav\u00e9s de un archivo que se agrega al directorio de plantillas, si el navegador web de la v\u00edctima accede a un sitio web que no es de confianza y que usa JavaScript para enviar solicitudes al puerto localhost 5000, y el navegador web se ejecuta en la misma m\u00e1quina que el Comando \"servidor lector\"."
          }
        ],
        "id": "CVE-2024-28335",
        "lastModified": "2024-03-27T12:29:30.307",
        "metrics": {},
        "published": "2024-03-27T06:15:19.447",
        "references": [
          {
            "source": "cve@mitre.org",
            "url": "https://brave.com/privacy-updates/27-localhost-permission/"
          },
          {
            "source": "cve@mitre.org",
            "url": "https://cxsecurity.com/issue/WLB-2024030043"
          },
          {
            "source": "cve@mitre.org",
            "url": "https://getlektor.com/docs/quickstart"
          },
          {
            "source": "cve@mitre.org",
            "url": "https://github.com/lektor/lektor/pull/1179/commits/8f38b9713d152622b69ff5e3b1e6a0d7bb7fa800"
          },
          {
            "source": "cve@mitre.org",
            "url": "https://github.com/lektor/lektor/releases/tag/v3.3.11"
          },
          {
            "source": "cve@mitre.org",
            "url": "https://packetstormsecurity.com/files/177708/Lektor-Static-CMS-3.3.10-Arbitrary-File-Upload-Remote-Code-Execution.html"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vulnStatus": "Awaiting Analysis"
      }
    }
  }
}


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.