id: devexpress-detect

info:
  name: DevExpress - Detect
  author: CravateRouge
  severity: info
  description: |
    Detect DevExpress based on the existence of its HTTP handler for serving images, scripts, and other resources to the client side.
  reference:
    - https://github.com/DevExpress/aspnet-security-bestpractices/blob/master/SecurityBestPractices.WebForms/README.md#53-information-exposure-through-source-code
    - https://supportcenter.devexpress.com/ticket/details/q311748/dxr-axd-what-is-it-and-how-to-disable-it
  classification:
    cpe: cpe:2.3:a:devexpress:devexpress_components:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: devexpress
    product: devexpress_components
    shodan-query: html:"DXR.axd"
  tags: devexpress,iis,microsoft,asp,tech

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

    redirects: true
    max-redirects: 2
    matchers:
      - type: word
        part: body
        words:
          - "DXR.axd"
# digest: 490a00463044022073c11c411559936b0f244ccc3ae42c3ba70e63081735b6bc032b83fc82050ceb02204b53bd06150d99634bf1846f41586673ffbbd24ac3dab64c1edebb0410e46bdf:922c64590222798bb761d5b6d8e72950