Skip to main content
CVE Vulnerability Database

CVE-2025-1270: Anapi H6web Auth Bypass Vulnerability

CVE-2025-1270 is an authentication bypass flaw in Anapi H6web allowing attackers to access other users' data and impersonate accounts. This article covers technical details, affected versions, impact, and mitigation.

Published:

CVE-2025-1270 Overview

CVE-2025-1270 is an Insecure Direct Object Reference (IDOR) vulnerability in Anapi Group's h6web application. The flaw resides in the /h6web/ha_datos_hermano.php endpoint, where the pkrelated parameter is not properly validated against the authenticated user's identity. An authenticated attacker can submit a POST request with a modified pkrelated value to access data belonging to other users. The initial request can also enable session impersonation, causing subsequent requests to execute with the privileges of the targeted user. The issue is tracked as [CWE-639: Authorization Bypass Through User-Controlled Key].

Critical Impact

Authenticated attackers can read other users' data and impersonate them, executing follow-on requests under the victim's privileges.

Affected Products

  • Anapi Group h6web (cpe:2.3:a:anapi:h6web:-:*:*:*:*:*:*:*)
  • Endpoint: /h6web/ha_datos_hermano.php
  • All deployments exposing the vulnerable pkrelated parameter

Discovery Timeline

  • 2025-02-13 - CVE-2025-1270 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-1270

Vulnerability Analysis

The vulnerability exists in the h6web PHP endpoint ha_datos_hermano.php. The application accepts a POST parameter named pkrelated that identifies which user record to retrieve. The server-side logic uses this attacker-controlled identifier to query and return records without verifying that the requesting session owns the referenced resource. This is a textbook Insecure Direct Object Reference pattern, mapped to [CWE-639].

Beyond simple data disclosure, the endpoint reportedly alters session state on the first crafted request. As a result, the attacker's session becomes bound to the impersonated user's identity. All subsequent authenticated requests then execute under the target account's privileges, effectively converting an authorization flaw into full account takeover.

Root Cause

The root cause is missing object-level authorization. The application trusts the client-supplied pkrelated identifier as the source of truth for record ownership. Server-side code does not cross-check the identifier against the authenticated session's user ID before returning data or updating session context. See the INCIBE Security Notice for the vendor coordination details.

Attack Vector

Exploitation requires network access and valid low-privilege credentials. The attacker authenticates to h6web, intercepts a legitimate POST request to /h6web/ha_datos_hermano.php, and substitutes the pkrelated value with the primary key of another user. The response discloses the victim's data. Because the first request also triggers session impersonation, further actions performed with the same session execute as the victim, allowing lateral movement within the application.

Detection Methods for CVE-2025-1270

Indicators of Compromise

  • POST requests to /h6web/ha_datos_hermano.php where the pkrelated value does not match the authenticated user's primary key.
  • A single session issuing requests referencing multiple, unrelated pkrelated identifiers over a short interval.
  • Sudden changes in the effective user context of a session without a corresponding login event in authentication logs.

Detection Strategies

  • Deploy web application firewall (WAF) rules that correlate the session's user identifier with the pkrelated parameter and alert on mismatches.
  • Enable verbose application logging that records session ID, authenticated user ID, and every pkrelated value submitted to ha_datos_hermano.php.
  • Hunt for enumeration patterns in access logs where sequential or randomized pkrelated values appear from one client IP or session.

Monitoring Recommendations

  • Alert on any h6web session where the acting user identity changes between consecutive requests without re-authentication.
  • Track response sizes and record counts returned by ha_datos_hermano.php to identify bulk data harvesting.
  • Forward h6web application logs to a centralized analytics platform to enable cross-session correlation and long-term retention.

How to Mitigate CVE-2025-1270

Immediate Actions Required

  • Contact Anapi Group to obtain remediation guidance and any available fixed build of h6web.
  • Restrict access to the h6web application to trusted networks or VPN users until a patched version is deployed.
  • Rotate credentials for accounts that may have been impersonated and review recent activity in ha_datos_hermano.php logs.
  • Enable strict session monitoring and terminate sessions that exhibit identity changes mid-flow.

Patch Information

At the time of publication, no vendor patch or fixed version is listed in the NVD advisory. Refer to the INCIBE Security Notice for the latest coordinated disclosure status and contact Anapi Group directly for a remediation timeline.

Workarounds

  • Place a reverse proxy or WAF in front of h6web to enforce that pkrelated values in POST requests match the authenticated session's user identifier.
  • Disable or block the /h6web/ha_datos_hermano.php endpoint at the network edge if it is not required for business operations.
  • Apply the principle of least privilege to h6web accounts to limit the impact of successful impersonation.
  • Increase authentication assurance by requiring multi-factor authentication for all h6web users, reducing the population of credentials available to attackers.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.