mal-2024-11657
Vulnerability from ossf_malicious_packages
Published
2024-09-19 21:35
Modified
2025-12-11 09:27
Summary
Malicious code in pdf2doc (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: kam193 (ae55659200290f97e3d07c41d49af574eb14ad3dc5913535e8d100cf2c48dd58)

During installation, the code attempts to exfiltrate basic data (username, host name) and send to the attacker. The package looks to be a clone of an existing one


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2024-09-pdf2doc

Reasons (based on the campaign):

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

  • typosquatting

  • obfuscation

  • dependency-confusion

  • The package overrides the install command in setup.py to execute malicious code during installation.

  • clones-real-package


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "pdf2doc",
        "purl": "pkg:pypi/pdf2doc"
      },
      "versions": [
        "0.3.9"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)"
    },
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    },
    {
      "contact": [
        "https://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "iocs": {
      "domains": [
        "partywave.site"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "RLMA-2024-11113",
        "import_time": "2024-12-09T14:38:46.841666605Z",
        "modified_time": "2024-12-09T06:50:47Z",
        "sha256": "751b13e0f4628b4af5f5e84a940e967e28655aa6de7ad858e8b73a8a9f0de0b5",
        "source": "reversing-labs",
        "versions": [
          "0.3.9"
        ]
      },
      {
        "id": "pypi/2024-09-pdf2doc/pdf2doc",
        "import_time": "2025-12-02T22:30:55.421699068Z",
        "modified_time": "2024-09-19T21:35:06Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "0ff273048f4e4de37731d163191de44bf9c9d5063b6c1326408fd760254ca429",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-09-pdf2doc/pdf2doc",
        "import_time": "2025-12-02T23:07:18.450632485Z",
        "modified_time": "2024-09-19T21:35:06Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "ae55659200290f97e3d07c41d49af574eb14ad3dc5913535e8d100cf2c48dd58",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-09-pdf2doc/pdf2doc",
        "import_time": "2025-12-10T21:38:57.666995652Z",
        "modified_time": "2024-09-19T21:35:06Z",
        "sha256": "30087900c557360b0bdcc4f090bd7a7a55dd9c716d1b79d21845c5f377a56c78",
        "source": "kam193",
        "versions": [
          "0.3.9"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (ae55659200290f97e3d07c41d49af574eb14ad3dc5913535e8d100cf2c48dd58)\nDuring installation, the code attempts to exfiltrate basic data (username, host name) and send to the attacker. The package looks to be a clone of an existing one\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2024-09-pdf2doc\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - typosquatting\n\n\n - obfuscation\n\n\n - dependency-confusion\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - clones-real-package\n",
  "id": "MAL-2024-11657",
  "modified": "2025-12-11T09:27:53Z",
  "published": "2024-09-19T21:35:06Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/pdf2doc"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in pdf2doc (PyPI)"
}


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 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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…