Skip to main content

OwnPay EUVDEUVD-2026-129179

| CVE-2026-76100 HIGH
Improper Verification of Cryptographic Signature (CWE-347)
2026-11-18 GitHub_M
8.2
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify pending order reference and amount at checkout
  2. Exploit
    POST forged Alipay notification to /webhook/alipay with no sign field
  3. Execution
    Fail-open verify() and verifyWebhook() return verified
  4. Impact
    Order marked completed and forged payment written to ledger

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Signature verification
Exploitation Conditions

The Alipay gateway must be enabled for a target merchant, and the attacker must know a pending order's out_trade_no and matching total_amount (both are attacker-influenced or observable at checkout, e.g. by placing one's own order). The bypass does NOT require a non-default configuration: because verify() only performs real RSA checking when a sign field AND a configured alipay_public_key are both present, simply omitting the sign field routes any callback to the fail-open fallback - so the attack works even against merchants that configured alipay_public_key, and also when alipay_public_key is left blank (permitted in <=0.2.0, as the field was not required). The /webhook/{gateway} route is unauthenticated by default and its only middleware (IpAllowlistMiddleware) allows all requests when IP_ALLOWLIST is empty (the default). Limiting factors: exploitation only forges orders that already exist in pending state with a known reference/amount, is confined to merchants with Alipay enabled, and requires IP_ALLOWLIST to be unset; a deployment that populates IP_ALLOWLIST would block external callers.

Impact

The supplied CVSS 4.0 score is 8.2 (High) with vector AV:N/AC:L/AT:P/PR:N/UI:N and a pure integrity impact (VI:H; VC:N, VA:N) - this is a signature-verification fail-open (CWE-347) that forges payment confirmations, not a code-execution or data-exposure flaw. The unauthenticated network vector (PR:N, UI:N) and the fact that the webhook route carries only IpAllowlistMiddleware (which allows all when IP_ALLOWLIST is empty, the default) make the mechanics trivially reachable, consistent with AC:L. The input's AT:P reflects the one genuine requirement: a pending order whose out_trade_no and total_amount the attacker knows or controls - easily satisfied since an attacker can place their own order. No EPSS score is provided and the CVE is NOT in CISA KEV, so there is no evidence of widespread or active exploitation; however, the GHSA advisory publishes a complete, reproducible proof-of-concept (forged HTTP request plus observed database/ledger state). The vuln.today decision label is 'this_week', below act_now/emergency. Net: for any operator actually running OwnPay with the Alipay gateway this is a real, high-impact priority (free goods and corrupted financial ledgers), but the real-world blast radius is constrained by the product's very small deployment footprint rather than by exploit difficulty. Note a data conflict: the CVE Description states 'No fixed version is available,' yet the GHSA advisory and commit 8418351 show it fixed in 0.2.1 (plugin version 1.0.1) - a fix does exist. CWE is also labeled 347 in the metadata but 345 in the advisory body.

Exploit ScenarioDerived

An attacker places or observes a pending order and learns its reference (out_trade_no) and amount (total_amount), then sends a single unauthenticated POST to /webhook/alipay containing those values, trade_status=TRADE_SUCCESS, and NO sign field. Because the verify() guard requires both a sign field and a configured public key, omitting sign routes the callback to a fail-open fallback that defaults to test mode and returns verified=true, while verifyWebhook() returns true unconditionally, so the order is marked completed and a payment-received ledger entry is written without any real payment. A full working PoC (request, 200 response, and resulting completed/ledger state) is published in the GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Unauthenticated payment forgery in OwnPay 0.2.0 and earlier allows a remote attacker to mark pending orders as paid and inject matching payment-received ledger entries by posting an unsigned Alipay notification to the unauthenticated POST /webhook/{gateway} endpoint. The Alipay adapter's verify() falls back to a 'test mode' branch that returns verified=true when the callback carries no sign field or the merchant has no alipay_public_key configured, and its verifyWebhook() override returns true unconditionally, so a request that knows a pending order reference (out_trade_no) and its total_amount passes both gates with no valid signature and no real payment; the CVSS 3.1 assessment scores it 8.2-equivalent severity as AV:N/AC:L/PR:N/UI:N with integrity-only impact (I:H, C:N, A:N). The GitHub advisory publishes a full proof-of-concept request/response and database-state walkthrough, and the vendor shipped a fail-closed rewrite in 0.2.1 (commit 84183513); no CISA KEV listing is associated with this CVE.

RemediationAI

Vendor-released patch: 0.2.1, delivered by commit 84183513c2b25d23c26c1a4fda6803a399a62c58, which removes the fail-open else branch so an unsigned or unverifiable callback is always rejected, makes alipay_public_key a required field, and implements real RSA signature verification inside verifyWebhook() instead of returning true. Upgrade to 0.2.1 (or cherry-pick that commit) and then reconfirm that every Alipay-enabled merchant has a valid Alipay public key configured, because the fix makes the key mandatory and otherwise valid notifications will be rejected. Until the upgrade is applied, disable the Alipay gateway for any merchant that does not strictly need it, or populate the IP_ALLOWLIST environment variable so that IpAllowlistMiddleware no longer short-circuits to allow-all; that workaround is global to the webhook middleware group, so it must include every legitimate callback source (including Alipay's notification ranges) or other gateway webhooks will break, and it does not fix the underlying fail-open logic. The advisory also recommends auditing the same fail-open shape - a verifyWebhook() returning true combined with a verify() that trusts the callback body - across the other gateway adapters, while noting ccavenue, rocket and jazzcash check cryptography inside verify() and mollie and opennode re-fetch authoritative status server-side.

Affected VersionsENISA

OwnPay ≤ 0.2.0

Affected Packages

euvd ownpay no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OwnPay is a self-hosted PHP payment-gateway automation platform that loads per-provider adapter plugins implementing PluginInterface and GatewayAdapterInterface. The Alipay adapter (modules/gateways/alipay/AlipayGateway.php) is supposed to validate Alipay's RSA2 (SHA-256) signature over the ksorted callback parameters using the merchant's configured alipay_public_key. The root cause is CWE-347 (Improper Verification of Cryptographic Signature), reported in the advisory as insufficient verification of data authenticity: the signature check was only entered when both a sign field and a non-empty alipay_public_key were present, and every other case fell through to an else branch that read an undefined 'mode' credential, defaulted it to 'test', and set $verified = true - the adapter never defines 'mode', so the branch always verified. The adapter additionally overrode verifyWebhook() to return true unconditionally, defeating the controller-level signature gate in GatewayBridge::verifyWebhookSignature(). Because config/routes/web.php registers POST /webhook/{gateway} in a middleware group (config/middleware.php) containing only IpAllowlistMiddleware, which returns early when IP_ALLOWLIST is empty (the default), the route is effectively unauthenticated. UnifiedWebhookController::handle() resolves the merchant by Host-header domain or by the transaction reference in the body, then GatewayApiService::handleCallback() compares the attacker-supplied total_amount against the stored amount with bccomp, and TransactionService::complete() plus LedgerService::recordPaymentReceived() finalize the order and write debit/credit/fee ledger rows. The CPE cpe:2.3:a:own-pay:ownpay:*:*:*:*:*:*:*:* is unversioned, so it does not itself bound the affected range. Automated tagging classifies the issue under PHP/JWT-attack/information-disclosure labels, but the mechanism is an RSA-signature verification fail-open with a pure integrity impact, not token forgery or data exposure.

Know when Ownpay gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Unauthenticated network webhook with no UI and no required non-default config (PR:N/AV:N/AC:L); integrity-only impact as orders and ledger are falsified (I:H) with no confidentiality or availability loss.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

OwnPay is a self-hosted open-source payment gateway automation platform. In 0.2.0 and earlier, modules/gateways/alipay/AlipayGateway.php fails open when an Alipay callback lacks a signature or the merchant has no configured public key because verify(array $callbackData, array $credentials) falls back to an undefined mode credential that defaults to test mode, while verifyWebhook() returns true unconditionally. An unauthenticated request to POST /webhook/{gateway} can provide a pending order reference and matching amount, pass both verification gates without a valid payment signature, and cause the order and corresponding payment-received ledger entries to be marked completed. No fixed version is available as of this review.

Technical POC Analysis

CWE-347 (Improper Verification of Cryptographic Signature) - the CVE's assigned weakness.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

OwnPay 0.2.0 and earlier contain an unauthenticated payment forgery vulnerability that allows attackers to mark pending orders as paid without actual payment, leading to financial loss and inaccurate financial records. The vulnerability affects e-commerce operations relying on OwnPay for payment processing, potentially eroding customer trust and causing revenue discrepancies.

Business Impact: High
Compensating Controls

Apply vendor patch: upgrade to OwnPay 0.2.1 or later.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Rare
obscure early-stage (v0.2.0) self-hosted open-source gateway, minimal production footprint
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy