CVE-2025-61959
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedPrior to September 19, 2025, the Hospital Manager Backend Services returned verbose ASP.NET error pages for invalid WebResource.axd requests, disclosing framework and ASP.NET version information, stack traces, internal paths, and the insecure configuration 'customErrors mode="Off"', which could have facilitated reconnaissance by unauthenticated attackers.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Hospital Manager Backend Services returned verbose ASP.NET error pages for invalid WebResource.axd requests, exposing framework and ASP.NET version information, stack traces, internal file paths, and the insecure 'customErrors mode="Off"' configuration. This information disclosure enables unauthenticated attackers to perform reconnaissance and identify potential vulnerabilities.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data<= 2025-09-19CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Locate the Hospital Manager Backend Services web.config fileFind the web.config file in the installation directory of the Hospital Manager Backend Services. Common paths include the root of the web application folder or the inetpub/wwwroot/HospitalManager directory.Affected if The web.config file exists and is accessible
-
Check customErrors mode configurationOpen the web.config file and locate the <system.web> section. Inspect the customErrors mode attribute. Look for 'mode="Off"' which enables verbose error messages.Affected if customErrors mode is set to 'Off' or is missing entirely
-
Test for verbose error disclosure via WebResource.axdSend an HTTP GET request to WebResource.axd with invalid or malformed parameters, for example: GET /WebResource.axd?d=invalid HTTP/1.1. Capture the response body.Affected if The response contains stack traces, file paths, ASP.NET version numbers, or detailed error messages rather than a generic error page
-
Verify internal path disclosureExamine the error response for absolute file paths (such as C:\ or /var/www/) that reveal the server's directory structure or internal application paths.Affected if Full file system paths are exposed in the error message or stack trace
If the Hospital Manager Backend Services is running and the web.config has customErrors mode set to 'Off' or missing, AND requesting WebResource.axd with invalid parameters returns detailed stack traces, version information, or internal file paths, then the environment is affected by CVE-2025-61959.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedConfigure customErrors mode in the web.config file to 'On' or 'RemoteOnly' to display generic error pages instead of detailed stack traces, and restrict detailed error messages to local requests only.
Hospital Manager Backend Services version 2025-09-19 or later (any version released on or after September 19, 2025)
- Locate the web.config or appsettings.json file for the Hospital Manager Backend Services application
- Ensure the <customErrors> element in web.config has mode set to 'On' or 'RemoteOnly' (not 'Off'): <customErrors mode='On' defaultRedirect='~/Error'>
- Alternatively, configure ASP.NET Core to use exception handling middleware that returns generic error responses to remote clients
- Verify that detailed error messages (stack traces, version info, internal paths) are only displayed when accessed locally (localhost)
- Test by making a request to WebResource.axd or another invalid endpoint from a remote location to confirm generic error page is returned
- Ensure custom error pages do not leak version information, stack traces, or internal file paths
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-61959 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-61959 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data