Description
AstronRPA through 1.1.6 contains an authentication bypass vulnerability in the OpenResty gateway's auth_handler.lua that accepts any Bearer token without validation. Unauthenticated attackers can send arbitrary Bearer values to reach /api/resource/ and /api/rpa-ai-service/ routes and spoof X-User-Id or user_id headers to act as any user.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| iflytek | astron-rpa | ≤ 1.1.6 | — |
References
- GitHub Issue #886 issue-tracking
- https://github.com/iflytek/astron-rpa product
- https://github.com/iflytek/astron-rpa/blob/v1.1.6/docker/volumes/nginx/lua/auth_handler.lua#L21-L35 technical-description
- https://github.com/iflytek/astron-rpa/blob/v1.1.6/backend/ai-service/app/dependencies/__init__.py#L10-L24 technical-description
- VulnCheck Advisory: AstronRPA through 1.1.6 Authentication Bypass via Arbitrary Bearer Token third-party-advisory