GHSA-G2VX-8V47-4VHH

Vulnerability from github – Published: 2022-05-17 05:44 – Updated: 2023-01-14 05:29
VLAI
Summary
CakePHP allows remote attackers to modify internal Cake cache and execute arbitrary code
Details

The _validatePost function in libs/controller/components/security.php in CakePHP 1.3.x through 1.3.5 and 1.2.8 allows remote attackers to modify the internal Cake cache and execute arbitrary code via a crafted data[_Token][fields] value that is processed by the unserialize function, as demonstrated by modifying the file_map cache to execute arbitrary local files.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "cakephp/cakephp"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "1.2.8"
            },
            {
              "fixed": "1.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2010-4335"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-20"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2023-01-14T05:29:31Z",
    "nvd_published_at": "2011-01-14T23:00:00Z",
    "severity": "HIGH"
  },
  "details": "The `_validatePost` function in `libs/controller/components/security.php` in CakePHP 1.3.x through 1.3.5 and 1.2.8 allows remote attackers to modify the internal Cake cache and execute arbitrary code via a crafted `data[_Token][fields]` value that is processed by the unserialize function, as demonstrated by modifying the `file_map` cache to execute arbitrary local files.",
  "id": "GHSA-g2vx-8v47-4vhh",
  "modified": "2023-01-14T05:29:31Z",
  "published": "2022-05-17T05:44:11Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2010-4335"
    },
    {
      "type": "WEB",
      "url": "https://github.com/cakephp/cakephp/commit/e431e86aa4301ced4273dc7919b59362cbb353cb"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/cakephp/cakephp"
    },
    {
      "type": "WEB",
      "url": "http://malloc.im/CakePHP-unserialize.txt"
    },
    {
      "type": "WEB",
      "url": "http://packetstormsecurity.org/files/view/95847/burnedcake.py.txt"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/42211"
    },
    {
      "type": "WEB",
      "url": "http://securityreason.com/securityalert/8026"
    },
    {
      "type": "WEB",
      "url": "http://www.exploit-db.com/exploits/16011"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/69352"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "CakePHP allows remote attackers to modify internal Cake cache and execute arbitrary code"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…