pysec-2024-73
Vulnerability from pysec
Published
2024-07-31 01:15
Modified
2024-08-27 15:22
Severity
Details

A vulnerability in the JSON file handling of gaizhenbiao/chuanhuchatgpt version 20240410 allows any user to delete any JSON file on the server, including critical configuration files such as config.json and ds_config_chatbot.json. This issue arises due to improper validation of file paths, enabling directory traversal attacks. An attacker can exploit this vulnerability to disrupt the functioning of the system, manipulate settings, or potentially cause data loss or corruption.

Aliases



{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "chuanhuchatgpt",
        "purl": "pkg:pypi/chuanhuchatgpt"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.2.5"
      ]
    }
  ],
  "aliases": [
    "CVE-2024-6255"
  ],
  "details": "A vulnerability in the JSON file handling of gaizhenbiao/chuanhuchatgpt version 20240410 allows any user to delete any JSON file on the server, including critical configuration files such as `config.json` and `ds_config_chatbot.json`. This issue arises due to improper validation of file paths, enabling directory traversal attacks. An attacker can exploit this vulnerability to disrupt the functioning of the system, manipulate settings, or potentially cause data loss or corruption.",
  "id": "PYSEC-2024-73",
  "modified": "2024-08-27T15:22:40.259109+00:00",
  "published": "2024-07-31T01:15:00+00:00",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://huntr.com/bounties/48f3e370-6dcd-4f38-9350-d0419b3a7f82"
    },
    {
      "type": "REPORT",
      "url": "https://huntr.com/bounties/48f3e370-6dcd-4f38-9350-d0419b3a7f82"
    },
    {
      "type": "WEB",
      "url": "https://huntr.com/bounties/48f3e370-6dcd-4f38-9350-d0419b3a7f82"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...