Summary
A remotely reachable verification-code endpoint in AIP-PUB ACPs-community may handle the supplied phone argument in a way that permits improper authentication. An attacker who can reach the endpoint and manipulate that argument could potentially interfere with the verification flow; public exploit information has been reported.
Affected context
The reported weakness is in the send_verification_code function in registry-server/app/account/service_auth.py, within the verify-code endpoint of AIP-PUB ACPs-community. The description identifies versions up to 2.2.0 and links the issue to manipulation of the phone argument. The precise validation or verification-flow behavior involved is not specified.
Exploit preconditions
- Attack surface: The verify-code endpoint must be reachable remotely.
- Required access: The description does not specify whether authentication or other access is required.
- Trigger point: Handling of the
phoneargument bysend_verification_code. - Why exploitation may be possible: Manipulating this argument is reported to lead to improper authentication; the exact mechanism and affected accounts are not established by the available details.
Why this happens
The reported behavior is consistent with an authentication-flow weakness in how a phone identifier is accepted, validated, or associated with verification state. If the application does not reliably bind verification to the intended identity and request context, a manipulated value may undermine authentication. This is categorized as CWE-287: Improper Authentication; the specific coding defect has not been determined.
Potential impact
- An attacker may bypass or interfere with a verification step.
- Accounts associated with affected verification flows could be at risk of unauthorized access.
- The endpoint could be abused to trigger unwanted verification activity.
- Authentication records or user trust in the verification process could be affected.
General mitigation guidance
Mitigation generally focuses on ensuring that verification is bound to the intended user, phone number, and request context.
Common defensive patterns include:
- Validating phone identifiers against a clear, canonical format and trusted account state.
- Binding verification challenges to the initiating identity and expiring them after use.
- Enforcing consistent authorization and verification checks on every relevant path.
- Applying rate limits and abuse controls to verification-code requests.
- Minimizing endpoint privileges and avoiding reliance on client-supplied identifiers as proof of identity.
How teams detect issues like this
High-level review can focus on whether verification challenges are securely bound to phone numbers, users, and sessions, and whether those bindings are checked before authentication succeeds.
- Use static analysis and code review to identify trust decisions based directly on request parameters.
- Review endpoint authorization, challenge lifecycle, replay protections, and rate-limiting policies.
- Monitor for unusual verification request volumes, repeated identifier changes, and authentication events without a corresponding valid challenge.
- Add policy checks to development workflows for sensitive authentication endpoints.

