id: liferay-axis

info:
  name: Liferay /api/axis - API Exposed
  author: DhiyaneshDk
  severity: info
  reference:
    - https://github.com/ilmila/J2EEScan/blob/master/src/main/java/burp/j2ee/issues/impl/LiferayAPI.java
  classification:
    cpe: cpe:2.3:a:liferay:liferay_portal:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: liferay
    product: liferay_portal
    shodan-query: title:"Liferay"
  tags: misconfig,exposure,liferay,api,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/axis"

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - ".*<h2>And now\\.\\.\\. Some Services<\\/h2>.*"

      - type: word
        part: header
        words:
          - "text/html"

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