☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
Totalsoft logo [ WEBSITE ] [ VENDOR STATS ]
CVSS: 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N 🐛 CWE-862
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-62098

CVE-2025-62098 Missing Authorization in Totalsoft
📅 PUBLISHED: 2025-12-31 15:15 UTC 🔄 UPDATED: 2026-08-12 14:53 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.06%
👁️
0.06% probability
1.4× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 5.4
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
5.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-62098 is a Missing Authorization vulnerability in the Portfolio Gallery WordPress plugin (gallery-portfolio) by Totalsoft, affecting versions up to and including 1.4.8. This flaw allows unauthenticated attackers to exploit incorrectly configured access control security levels, potentially leading to unauthorized access to gallery data or administrative functions. The vulnerability is classified as a WordPress ecosystem issue, not related to Apache or Nginx. With a CVSS score of 5.4 (Medium), it poses a moderate risk, but the lack of a known patch and public exploit code increases the urgency for mitigation. The EPSS score is 0.0%, indicating low exploitation likelihood currently, but the vulnerability remains unpatched.

⚡ 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 affects a WordPress plugin distributed via the official WordPress plugin repository. Users are advised to monitor for updates from Totalsoft and consider removing the plugin if no patch is forthcoming. No NPM, PyPI, Go, or Ruby packages are involved.

CVSS Breakdown & Threat Level

  • CVSS Score: 5.4 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Attack Vector: Network (AV:N) – Exploitable remotely.
  • Attack Complexity: Low (AC:L) – No special conditions required.
  • Privileges Required: None (PR:N) – No authentication needed.
  • User Interaction: None (UI:N) – No user action required.
  • Scope: Unchanged (S:U) – Impact confined to the vulnerable component.
  • Confidentiality Impact: Low (C:L) – Limited data exposure.
  • Integrity Impact: Low (I:L) – Limited data modification.
  • Availability Impact: None (A:N) – No denial of service.

Threat Level: Medium. The vulnerability is easy to exploit but has limited impact. However, the unpatched status and potential for chaining with other flaws elevate the risk.

Deep Dive & Mechanics

The vulnerability stems from Missing Authorization (CWE-862) in the Portfolio Gallery plugin. The plugin fails to properly enforce access controls on certain REST API endpoints or AJAX actions, allowing unauthenticated users to perform actions intended for authenticated users (e.g., viewing, editing, or deleting gallery items). The flaw is present in all versions up to 1.4.8.

Root Cause: The plugin likely uses wp_ajax_* hooks without corresponding wp_ajax_nopriv_* checks, or it fails to validate user capabilities before executing sensitive operations. This enables attackers to send crafted HTTP requests to manipulate gallery data.

Attack Vector: An attacker sends a specially crafted HTTP request to a vulnerable endpoint (e.g., /wp-admin/admin-ajax.php with a specific action parameter) without authentication. The server processes the request due to missing capability checks.

Impact: Unauthorized access to gallery content, potential modification of gallery items, or exposure of sensitive metadata. In worst-case scenarios, this could lead to privilege escalation if combined with other vulnerabilities.

Vulnerable vs. Patched Code

Since no patch is available, we can only infer the vulnerable code pattern. The plugin likely contains code similar to:

// Vulnerable: No capability check
add_action('wp_ajax_gallery_portfolio_delete_item', 'delete_gallery_item');
function delete_gallery_item() {
    // Process deletion without checking user capabilities
    $item_id = $_POST['item_id'];
    // Delete logic...
}

A patched version would include:

// Patched: Capability check added
add_action('wp_ajax_gallery_portfolio_delete_item', 'delete_gallery_item');
function delete_gallery_item() {
    if (!current_user_can('edit_posts')) {
        wp_die('Unauthorized');
    }
    $item_id = $_POST['item_id'];
    // Delete logic...
}

Without an official patch, users must implement virtual patching via Web Application Firewall (WAF) rules.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • Target WordPress site with Portfolio Gallery plugin <= 1.4.8.
  • Network access to the site.

Exploitation Steps:

  1. Identify vulnerable endpoints by analyzing plugin source code or using fuzzing.
  2. Send a crafted HTTP request to wp-admin/admin-ajax.php with action gallery_portfolio_get_items (example) to retrieve gallery data without authentication.
curl -X POST http://target.com/wp-admin/admin-ajax.php \
  -d "action=gallery_portfolio_get_items"
  1. If successful, the response will contain gallery data in JSON format.

Proof-of-Concept (No public exploit available):

import requests

target = "http://target.com/wp-admin/admin-ajax.php"
data = {"action": "gallery_portfolio_get_items"}
response = requests.post(target, data=data)
print(response.text)

Blue Team (Detection & Defense)

Detection:

  • Monitor for unusual POST requests to /wp-admin/admin-ajax.php with unknown or suspicious action parameters.
  • Look for requests from unauthenticated users to endpoints that should require authentication.

Defense:

  • Implement a Web Application Firewall (WAF) rule to block requests to admin-ajax.php with actions related to gallery_portfolio unless the user is authenticated.
  • Disable the plugin until a patch is available.
  • Use the wp-config.php constant DISABLE_WP_CRON and restrict access to admin-ajax.php via .htaccess for non-logged-in users.

Indicators of Compromise (IOCs)

  • Network IOCs:

    • POST requests to /wp-admin/admin-ajax.php with action parameter containing gallery_portfolio from unauthenticated sources.
    • Unusual JSON responses containing gallery data from unauthenticated requests.
  • File IOCs:

    • Presence of the plugin directory /wp-content/plugins/gallery-portfolio/ with version <= 1.4.8.
    • Modified or new files in the plugin directory indicating exploitation.
  • Log IOCs:

    • Access logs showing repeated POST requests to admin-ajax.php with action=gallery_portfolio_* from the same IP.
    • Error logs with PHP warnings related to missing capability checks.

Detection Engineering

YARA Rule

rule CVE_2025_62098_Portfolio_Gallery_Missing_Auth {
    meta:
        description = "Detects vulnerable Portfolio Gallery plugin files"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-62098"
    strings:
        $vuln_func = "add_action('wp_ajax_" nocase
        $no_check = "current_user_can" nocase
    condition:
        $vuln_func and not $no_check
}

Sigma Rule

title: CVE-2025-62098 - Missing Authorization in Portfolio Gallery
id: 8a4b3c2d-1e5f-4a7b-9c8d-0e1f2a3b4c5d
status: experimental
description: Detects exploitation attempts of missing authorization in Portfolio Gallery plugin
author: Valters IT
date: 2025/04/10
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query: '/wp-admin/admin-ajax.php'
        cs-uri-query|contains: 'action=gallery_portfolio_'
    condition: selection
falsepositives:
    - Legitimate admin actions (rare)
level: medium

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-62098 - Portfolio Gallery Missing Authorization Exploit"; flow:to_server,established; content:"POST"; http_method; content:"/wp-admin/admin-ajax.php"; http_uri; content:"action=gallery_portfolio_"; http_client_body; classtype:attempted-admin; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin if not critical for business operations.
  2. Implement virtual patching via WAF to block unauthenticated requests to admin-ajax.php with gallery_portfolio actions.
  3. Restrict access to admin-ajax.php using .htaccess for non-logged-in users:
    <Files "admin-ajax.php">
        Require all denied
        Require wp-admin
    </Files>
    

Long-term Actions:

  1. Monitor the Totalsoft plugin repository for an official patch.
  2. Replace the plugin with an alternative that is actively maintained.
  3. Conduct a security audit of all WordPress plugins for similar vulnerabilities.

Workaround: If the plugin must remain active, add the following code to the theme's functions.php to enforce capability checks:

add_action('init', function() {
    if (defined('DOING_AJAX') && DOING_AJAX) {
        $action = $_REQUEST['action'] ?? '';
        if (strpos($action, 'gallery_portfolio_') === 0 && !is_user_logged_in()) {
            wp_die('Unauthorized');
        }
    }
});

Valters IT
Securing Digital Frontiers

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.title:"Portfolio Gallery"
http.html:"wp-content/plugins/gallery-portfolio"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-62098/ · 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.