Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Grav API Plugin: CORS 'Access-Control-Allow-Origin: *' on Authenticated API Responses
Vulnerability Description
Grav API Plugin is a RESTful API for Grav CMS that provides full headless access to your site's content. Prior to 1.0.0-rc.16, the Grav API plugin CorsMiddleware returns Access-Control-Allow-Origin: * and permissive OPTIONS responses for authenticated /api/v1 endpoints. JavaScript from any origin can submit an attacker-obtained JWT through the Authorization or X-API-Token header, read the authenticated response, and perform write operations with the token owner's privileges, enabling data exfiltration and account modification. This issue is fixed in version 1.0.0-rc.16.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Vulnerability Type
过度许可的跨域白名单
Vulnerability Title
Grav API Plugin 配置错误漏洞
Vulnerability Description
Grav API Plugin是Grav组织的一款提供API接口功能的插件。 Grav API Plugin 1.0.0-rc.16之前版本存在配置错误漏洞,该漏洞源于CorsMiddleware对已验证的/api/v1端点返回Access-Control-Allow-Origin: *和宽松的OPTIONS响应,可能导致任意来源的JavaScript通过Authorization或X-API-Token头提交攻击者获取的JWT,读取已验证响应并执行写操作,造成数据泄露和账户修改。
CVSS Information
N/A
Vulnerability Type
N/A