id: boa-web-server

info:
  name: Boa Web Server - Detect
  author: johnk3r
  severity: info
  description: |
    Boa is a single-tasking HTTP server. That means that unlike traditional web servers, it does not fork for each incoming connection, nor does it fork many copies of itself to handle multiple connections.
  reference:
    - https://www.microsoft.com/en-us/security/blog/2022/11/22/vulnerable-sdk-components-lead-to-supply-chain-risks-in-iot-and-ot-environments/
    - http://www.boa.org/
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:boa:boa:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: "Server: Boa/"
    product: boa
    vendor: boa
  tags: boa,tech,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: regex
        part: header
        regex:
          - "Server: Boa/"

    extractors:
      - type: kval
        part: header
        kval:
          - Server
# digest: 4b0a00483046022100cde1ba7a0572a730ccea316420f015f32fffdfb8389b2f4063840f38b754abb7022100920a94795d3f64cf64353a2e92c631f02c069be953b72b377241d1fe87f22c03:922c64590222798bb761d5b6d8e72950