shaarli-installer: Shaarli - Installer Exposure

2026-12-04 PoC Public

Description

Shaarli contains an installer exposure caused by the /install setup form staying reachable without authentication until the first configuration is saved, letting remote attackers set the administrator credentials and take over the instance.

Details

Severity
高危
Published
PoC
Public

PoC

id: shaarli-installer

info:
  name: Shaarli - Installer Exposure
  author: s4e-io
  severity: high
  description: |
    Shaarli contains an installer exposure caused by the /install setup form staying reachable without authentication until the first configuration is saved, letting remote attackers set the administrator credentials and take over the instance.
  reference:
    - https://github.com/shaarli/Shaarli
    - https://shaarli.readthedocs.io/en/master/Installation/
  classification:
    cpe: cpe:2.3:a:shaarli_project:shaarli:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    verified: true
    vendor: shaarli_project
    product: shaarli
    fofa-query: body="Shaarli" && icon_hash="-1588935085"
  tags: misconfig,exposure,install,shaarli,vuln

http:
  - raw:
      - |
        GET /install HTTP/1.1
        Host: {{Hostname}}
      - |
        GET /?do=install HTTP/1.1
        Host: {{Hostname}}

    redirects: true
    max-redirects: 4

    stop-at-first-match: true

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "text/html")'
          - 'contains_all(body, "installform", "setlogin", "setpassword", "Install Shaarli")'
        condition: and
# digest: 4b0a00483046022100f54bcb29c3a41204990ab41b441dc1ab5ecf2ef06b67890bf13525b661f39c45022100a2f50946529cf49655bc36a2355d3a8462cba8a8f5de4d2aaf711c84ef513934:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

微信搜一搜 biu.life