Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-31843: CWE-284 Improper Access Control leading to unauthorized modification of executable application files in goodoneuz pay-uz

0
Critical
VulnerabilityCVE-2026-31843cvecve-2026-31843cwe-284
Published: Thu Apr 16 2026 (04/16/2026, 13:02:55 UTC)
Source: CVE Database V5
Vendor/Project: goodoneuz
Product: pay-uz

Description

The goodoneuz/pay-uz Laravel package (<= 2.2.24) contains a critical vulnerability in the /payment/api/editable/update endpoint that allows unauthenticated attackers to overwrite existing PHP payment hook files. The endpoint is exposed via Route::any() without authentication middleware, enabling remote access without credentials. User-controlled input is directly written into executable PHP files using file_put_contents(). These files are later executed via require() during normal payment processing workflows, resulting in remote code execution under default application behavior. The payment secret token mentioned by the vendor is unrelated to this endpoint and does not mitigate the vulnerability.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/16/2026, 13:31:49 UTC

Technical Analysis

CVE-2026-31843 is an improper access control vulnerability (CWE-284) in the goodoneuz/pay-uz Laravel package (<= 2.2.24). The vulnerability exists in the /payment/api/editable/update endpoint, which is exposed via Route::any() without authentication middleware, allowing unauthenticated remote attackers to write arbitrary PHP code into payment hook files using file_put_contents(). These files are subsequently executed via require() during normal payment workflows, resulting in remote code execution. The vendor's payment secret token is unrelated and does not protect this endpoint. The CVSS 4.0 base score is 10.0, indicating critical severity. No patch or official remediation is currently documented.

Potential Impact

Successful exploitation allows unauthenticated remote attackers to achieve remote code execution on the affected system by overwriting executable PHP files used in payment processing. This can lead to full compromise of the application environment. The vulnerability has a CVSS 4.0 score of 10.0, reflecting its critical impact. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the vulnerable endpoint by implementing authentication and input validation controls. Avoid exposing the /payment/api/editable/update endpoint publicly and monitor for unauthorized file modifications. Do not rely on the payment secret token as it does not mitigate this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-03-09T18:20:23.398Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69e0e14482d89c981f87fef2

Added to database: 4/16/2026, 1:16:52 PM

Last enriched: 4/16/2026, 1:31:49 PM

Last updated: 4/17/2026, 1:30:30 AM

Views: 15

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses