Summary
AnyShare builds through 2024-11 expose a user-management endpoint that can return user records without requiring authentication. An unauthenticated requester who can reach the endpoint may retrieve usernames, password fields, and department information.
Affected context
The issue concerns the /api/ShareMgnt/Usrm_GetAllUsers endpoint in AnyShare builds through 2024-11. It becomes risky when the endpoint is reachable by unauthenticated clients and returns user records without checking the caller's identity or permissions.
Exploit preconditions
- Attack surface: The AnyShare user-management API endpoint
- Required access: Network access to the endpoint; authentication is not required
- Trigger point: An unauthenticated POST request with a
[start,limit]body - Why exploitation is possible: The endpoint returns user records without first enforcing authentication and authorization
Why this happens
The endpoint exposes sensitive user data without verifying the caller's identity. This is a missing authentication control, mapped to CWE-306: Missing Authentication for Critical Function. The underlying insecure pattern is allowing a sensitive operation to proceed without an effective authentication check.
Potential impact
- Usernames and department information could be disclosed
- Password fields could be exposed, increasing the risk of account compromise
- Exposed account details could support targeted phishing or follow-on attacks
General mitigation guidance
Defensive patterns focus on enforcing identity and authorization checks before any sensitive data is returned.
- Require authentication by default for user-management endpoints
- Apply authorization checks based on least privilege and caller purpose
- Minimize returned fields and avoid exposing password-related data in API responses
- Reduce exposure by limiting access to sensitive APIs to trusted networks or services
- Treat request parameters as untrusted and validate them against appropriate limits
How teams detect issues like this
- Review API routes that return user, credential, or organizational data for authentication and authorization enforcement
- Use static analysis and code review checks to identify sensitive handlers without access-control middleware
- Test endpoints with unauthenticated requests as part of security testing
- Monitor logs and policy enforcement for requests to sensitive user-management routes that lack a valid identity

