{
  "report": {
    "id": "VMS-PT-2026-031",
    "version": "1.1",
    "date": "2026-11-20",
    "classification": "Confidential",
    "methodology": "OWASP WSTG v4.2 · PTES · CVSS v3.1",
    "testedBy": "Elena Marsh, Theo Lindqvist · Vantmere Security",
    "approvedBy": "Ruth Okafor, Head of Delivery"
  },
  "firm": {
    "name": "Vantmere Security",
    "shortName": "Vantmere"
  },
  "client": {
    "name": "Corbelline",
    "legalName": "Corbelline, Inc.",
    "subtitle": "Contract Lifecycle Platform · Application and API Penetration Test"
  },
  "engagement": {
    "name": "Corbelline Q4 2026 penetration test",
    "start": "2026-11-02",
    "end": "2026-11-13",
    "approach": "Gray box"
  },
  "history": [
    {
      "version": "0.9",
      "issued": "2026-11-16",
      "changes": "Draft issued to the Corbelline security team for factual review."
    },
    {
      "version": "1.0",
      "issued": "2026-11-17",
      "changes": "Final report issued. Factual corrections to CBL-05 and Appendix A."
    },
    {
      "version": "1.1",
      "issued": "2026-11-20",
      "changes": "Retest of CBL-01 and CBL-02 on 19 November: both remediated. Risk acceptance of CBL-06 recorded."
    }
  ],
  "distribution": [
    {
      "name": "Dana Whitcombe",
      "role": "Chief Information Security Officer",
      "organization": "Corbelline",
      "email": "d.whitcombe@corbelline.example"
    },
    {
      "name": "Marcus Iyer",
      "role": "VP Engineering",
      "organization": "Corbelline",
      "email": "m.iyer@corbelline.example"
    },
    {
      "name": "Elena Marsh",
      "role": "Lead Consultant",
      "organization": "Vantmere Security",
      "email": "e.marsh@vantmere.example"
    },
    {
      "name": "Ruth Okafor",
      "role": "Head of Delivery",
      "organization": "Vantmere Security",
      "email": "r.okafor@vantmere.example"
    }
  ],
  "summary": [
    "Vantmere Security performed a gray box penetration test of the Corbelline contract lifecycle platform: the web application, the public REST API, the e-signature portal and the webhook ingress, with source code access to the import and authentication services. Testing used tenants provisioned for the engagement and followed the OWASP Web Security Testing Guide.",
    "The most severe finding, a server-side request forgery in the contract import (CBL-01), let any trial account obtain credentials to the document store of every tenant. Vantmere reported it on the second day of testing. Corbelline fixed it and the cross-tenant attachment access (CBL-02) within the engagement, and both fixes passed the retest on 19 November.",
    "Two findings remain open and need a fix before the next release: SAML sign-in reads an assertion that its signature does not cover (CBL-03), and clause comments render script links (CBL-04). The other findings are hardening items."
  ],
  "scopeSummary": "The objective was to find any path from an outside user, or from one customer, to another customer's contracts. Testing covered four production hosts from two source addresses, with two tenants per role and one SSO-enabled tenant. Denial of service, social engineering, the corporate network and the customers' identity providers were out of scope. Appendix A lists the assets, the accounts and the rules of engagement.",
  "themes": [
    {
      "title": "Server-side fetches and object lookups trust the caller",
      "text": "The import worker fetches any address a user supplies, including the cloud metadata service (CBL-01), and the attachment endpoints load an object by its identifier without checking the tenant that owns it (CBL-02). Both fixes landed during the engagement, but the pattern is a design habit: authorization and destination checks sit in the route handlers, one handler at a time.",
      "recommendation": "Move tenant scoping into the data access layer so that no query runs without the caller's tenant, and route every outbound fetch through an egress proxy that reaches the internet only."
    },
    {
      "title": "Federated sign-in accepts what it has not verified",
      "text": "The SAML consumer verifies a signature, then reads the user from a different element (CBL-03). Sessions have no server-side record, so a password change or a sign-out does not end them (CBL-06). Together, an account taken over through SSO stays taken over until its token expires.",
      "recommendation": "Read identity only from the signed assertion, reject responses with more than one assertion, and keep a server-side session record that password changes, role changes and administrators can revoke."
    },
    {
      "title": "Content from counterparties reaches browsers and spreadsheets as written",
      "text": "Guest counterparties can post comments whose links run script in the reviewer's session (CBL-04) and set values that become formulas in the CSV export (CBL-05). The Content Security Policy allows inline scripts, so it does not stop the first case (CBL-09).",
      "recommendation": "Treat guest input as untrusted at every output: drop 'unsafe-inline' from the script policy, allow-list link schemes, and neutralize formula prefixes in exports."
    }
  ],
  "scope": {
    "assets": [
      {
        "asset": "app.corbelline.example",
        "type": "Web application",
        "environment": "Production",
        "address": "198.51.100.25"
      },
      {
        "asset": "api.corbelline.example",
        "type": "REST API v2, 148 endpoints",
        "environment": "Production",
        "address": "198.51.100.24"
      },
      {
        "asset": "sign.corbelline.example",
        "type": "E-signature portal",
        "environment": "Production",
        "address": "198.51.100.27"
      },
      {
        "asset": "hooks.corbelline.example",
        "type": "Webhook ingress",
        "environment": "Production",
        "address": "198.51.100.31"
      },
      {
        "asset": "services/import, services/auth",
        "type": "Source code, read only",
        "environment": "Commit 4f2c9e1",
        "address": "Repository snapshot"
      }
    ],
    "outOfScope": [
      "Denial of service, load testing and social engineering of Corbelline staff or customers.",
      "Corporate network, laptops and internal tools.",
      "Customers' identity providers and third-party integrations, beyond the webhook ingress.",
      "Customer tenants: only the tenants provisioned for the test were accessed."
    ],
    "accounts": [
      {
        "tenant": "tenant-a",
        "roles": "Admin, Editor, Viewer",
        "purpose": "Primary tenant"
      },
      {
        "tenant": "tenant-b",
        "roles": "Admin, Editor, Viewer",
        "purpose": "Cross-tenant checks"
      },
      {
        "tenant": "tenant-c",
        "roles": "Admin, Editor, Guest",
        "purpose": "SAML SSO and guest negotiation"
      }
    ],
    "rules": [
      {
        "label": "Testing window",
        "value": "2 to 13 November 2026, 08:00 to 20:00 Pacific Time"
      },
      {
        "label": "Source addresses",
        "value": "192.0.2.44 and 192.0.2.45"
      },
      {
        "label": "Critical findings",
        "value": "Reported to the client within 24 hours, by phone and email"
      },
      {
        "label": "Escalation contact",
        "value": "Corbelline security on call, +1 (415) 555-0142"
      },
      {
        "label": "Data handling",
        "value": "Evidence stored encrypted, deleted 90 days after the final report"
      }
    ]
  },
  "phases": [
    {
      "phase": "Reconnaissance and mapping",
      "activities": "Hosts, endpoints, roles and data flows; API schema review",
      "reference": "WSTG-INFO"
    },
    {
      "phase": "Configuration and transport",
      "activities": "TLS, security headers, error handling, exposed services",
      "reference": "WSTG-CONF\nWSTG-CRYP\nWSTG-ERRH"
    },
    {
      "phase": "Identity and sessions",
      "activities": "Sign-up, password reset, MFA, SAML SSO, session lifecycle",
      "reference": "WSTG-IDNT\nWSTG-ATHN\nWSTG-SESS"
    },
    {
      "phase": "Authorization",
      "activities": "Every API endpoint replayed across roles and across tenants",
      "reference": "WSTG-ATHZ"
    },
    {
      "phase": "Input handling",
      "activities": "Injection, server-side requests, file import, exports",
      "reference": "WSTG-INPV"
    },
    {
      "phase": "Business logic and client side",
      "activities": "Approval and signature workflows, comments, browser defenses",
      "reference": "WSTG-BUSL\nWSTG-CLNT"
    },
    {
      "phase": "Reporting and retest",
      "activities": "Severity rating, peer review, fix verification",
      "reference": "CVSS v3.1"
    }
  ],
  "methodologyNotes": [
    "Every finding in this report was confirmed with a working proof of concept against the test tenants. Impact beyond the proof of concept is stated as an inference and marked as such. No customer object was opened, modified or deleted.",
    "Scores follow CVSS v3.1 base metrics, rated on the vulnerable component as deployed. Environmental metrics were not applied: Corbelline can adjust them to its own asset values."
  ],
  "limitations": "The test was time-boxed to ten working days. Mobile applications, the billing provider and the analytics pipeline were not tested. A gray box test does not guarantee that no other vulnerability exists.",
  "findings": [
    {
      "id": "CBL-01",
      "severity": "Critical",
      "severityKey": "critical",
      "status": "Remediated",
      "statusKey": "remediated",
      "title": "Contract import from a URL gives any user the credentials of the shared document store",
      "cvss": 9.6,
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N",
      "category": "Server-Side Request Forgery",
      "cwe": "CWE-918",
      "owasp": "A01:2025 Broken Access Control",
      "affected": "api.corbelline.example · POST /v2/imports",
      "reported": "2026-11-03",
      "sections": [
        {
          "title": "Description",
          "blocks": [
            {
              "type": "p",
              "text": "The Import from link feature fetches a document from a URL on the server. The import worker sends the request from inside the production network and follows redirects without checking where they lead, so a link that redirects to the instance metadata service at 169.254.169.254 is fetched like any other. The response becomes the imported document, and the caller reads the worker's temporary credentials in the contract preview."
            }
          ]
        },
        {
          "title": "Root cause analysis",
          "blocks": [
            {
              "type": "p",
              "text": "The URL check rejects other schemes and literal private addresses, but only on the hostname as typed; the HTTP client then follows up to five redirects unchecked. The worker's instance role can read and write every tenant's documents, and its metadata service answers version 1 requests, which need no session token."
            },
            {
              "type": "code",
              "label": "services/import/src/fetch-remote.ts",
              "status": "",
              "text": "export async function fetchRemote(url: string) {\n  const u = new URL(url);\n  if (!['http:', 'https:'].includes(u.protocol)) throw new ImportError('scheme');\n  if (isPrivateIp(u.hostname)) throw new ImportError('private address');\n  // the hostname is checked as text; the client follows redirects unchecked\n  return httpClient.get(u.href, { maxRedirects: 5, timeout: 15000 });\n}"
            }
          ]
        },
        {
          "title": "Impact",
          "blocks": [
            {
              "type": "quote",
              "title": "Any authenticated user, including a free trial account, can obtain credentials that read and overwrite the contracts of every Corbelline customer.",
              "text": "The credentials last six hours and renew with each import. Scope is Changed because the document store sits behind a separate authority, the cloud access policy. Vantmere listed the bucket once, then stopped: write access is inferred from the role policy."
            }
          ]
        },
        {
          "title": "Attack scenario",
          "blocks": [
            {
              "type": "step",
              "label": "Step 1",
              "title": "Create a trial account",
              "text": "Self-service sign-up gives an Editor role on a new tenant in under a minute."
            },
            {
              "type": "step",
              "label": "Step 2",
              "title": "Import a redirecting link twice",
              "text": "The first import returns the worker's role name, the second its keys and session token, which read or replace any object in the document bucket (not performed beyond a listing)."
            }
          ]
        },
        {
          "title": "Proof of concept",
          "blocks": [
            {
              "type": "p",
              "text": "The tester's host 192.0.2.44 answers /c.pdf with a 302 to the credentials path of the metadata service, and /c2.pdf with a 302 to the role found by the first import."
            },
            {
              "type": "exhibit",
              "label": "Captured HTTP transcript",
              "file": "cbl-01-import.txt · text/plain · 2.1 KB"
            },
            {
              "type": "xpart",
              "label": "Request",
              "status": "POST /v2/imports HTTP/1.1",
              "text": "Host: api.corbelline.example\nAuthorization: Bearer [tenant-b editor token, redacted]\n\n{\"source\":\"url\",\"url\":\"http://192.0.2.44/c.pdf\"}"
            },
            {
              "type": "xpart",
              "label": "Response",
              "status": "HTTP/1.1 201 Created",
              "text": "{\"importId\":\"imp_51f0e2\",\"status\":\"done\",\"preview\":\"import-worker\"}"
            },
            {
              "type": "xpart",
              "label": "Request",
              "status": "POST /v2/imports HTTP/1.1",
              "text": "{\"source\":\"url\",\"url\":\"http://192.0.2.44/c2.pdf\"}"
            },
            {
              "type": "xpart",
              "label": "Response",
              "status": "HTTP/1.1 201 Created",
              "text": "{\"importId\":\"imp_51f0e9\",\"status\":\"done\",\"preview\":\"{\\\"Code\\\":\\\"Success\\\",\n \\\"AccessKeyId\\\":\\\"[REDACTED]\\\",\\\"SecretAccessKey\\\":\\\"[REDACTED]\\\",\n \\\"Token\\\":\\\"[REDACTED]\\\",\\\"Expiration\\\":\\\"2026-11-03T21:42:09Z\\\"}\"}"
            },
            {
              "type": "caption",
              "text": "Exhibit C.1. Two imports return the role name, then its temporary credentials."
            }
          ]
        },
        {
          "title": "Remediation",
          "blocks": [
            {
              "type": "li",
              "text": "Resolve the hostname once, reject loopback, private, link-local and multicast ranges on the resolved address, and connect to that address, on every redirect hop."
            },
            {
              "type": "li",
              "text": "Send import fetches through an egress proxy that reaches the internet only, never the internal network or the metadata service."
            },
            {
              "type": "li",
              "text": "Require version 2 session tokens with a hop limit of 1 on the metadata service, and limit the worker role to a staging prefix."
            }
          ]
        },
        {
          "title": "Retest",
          "blocks": [
            {
              "type": "p",
              "text": "Remediated and verified on 19 November 2026. The service now pins the resolved address on each hop and fetches through an egress proxy; attempts to 169.254.169.254, 10.0.0.0/8 and ::1 return HTTP 422, and the workers refuse version 1 metadata requests."
            }
          ]
        }
      ]
    },
    {
      "id": "CBL-02",
      "severity": "High",
      "severityKey": "high",
      "status": "Remediated",
      "statusKey": "remediated",
      "title": "Attachment endpoints accept attachment identifiers of other tenants",
      "cvss": 8.1,
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N",
      "category": "Broken Object Level Authorization",
      "cwe": "CWE-639",
      "owasp": "A01:2025 Broken Access Control",
      "affected": "api.corbelline.example · /v2/contracts/{id}/attachments/{attachmentId}",
      "reported": "2026-11-05",
      "sections": [
        {
          "title": "Description",
          "blocks": [
            {
              "type": "p",
              "text": "GET and PUT on an attachment check that the caller can open the contract in the path, then load the attachment by its own identifier alone. An Editor can pair a contract of their own tenant with another tenant's attachment identifier, such as att_1048213, to download or replace that file. Identifiers are sequential, so they can be enumerated."
            }
          ]
        },
        {
          "title": "Impact",
          "blocks": [
            {
              "type": "quote",
              "title": "An Editor of any tenant can read and silently replace the exhibits, amendments and signed copies attached to other customers' contracts.",
              "text": "Nothing appears in the victim tenant's audit log: the write is attributed to the attacker's tenant."
            }
          ]
        },
        {
          "title": "Proof of concept",
          "blocks": [
            {
              "type": "code",
              "label": "Request: a tenant-b contract with a tenant-a attachment",
              "status": "GET /v2/contracts/ctr_5512/attachments/att_1048213 HTTP/1.1",
              "text": "Host: api.corbelline.example\nAuthorization: Bearer [tenant-b editor token, redacted]"
            },
            {
              "type": "code",
              "label": "Response",
              "status": "HTTP/1.1 200 OK",
              "text": "Content-Type: application/pdf\nContent-Disposition: attachment; filename=\"tenant-a-test-msa-signed.pdf\""
            }
          ]
        },
        {
          "title": "Remediation",
          "blocks": [
            {
              "type": "li",
              "text": "Load attachments through the parent contract and the caller's tenant, never by identifier alone."
            },
            {
              "type": "li",
              "text": "Use random identifiers (UUID v4) for every object in the API, and add an authorization test per endpoint that replays each request with a second tenant's objects."
            }
          ]
        },
        {
          "title": "Retest",
          "blocks": [
            {
              "type": "p",
              "text": "Remediated and verified on 19 November 2026: mixed contract and attachment pairs return HTTP 404 on GET and PUT, and new attachments get UUID identifiers."
            }
          ]
        }
      ]
    },
    {
      "id": "CBL-03",
      "severity": "High",
      "severityKey": "high",
      "status": "Open",
      "statusKey": "open",
      "title": "SAML sign-in reads an unsigned assertion placed next to a signed one",
      "cvss": 7.4,
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
      "category": "Authentication Bypass",
      "cwe": "CWE-347",
      "owasp": "A07:2025 Authentication Failures",
      "affected": "app.corbelline.example · POST /sso/saml/acs",
      "reported": "2026-11-09",
      "sections": [
        {
          "title": "Description",
          "blocks": [
            {
              "type": "p",
              "text": "Enterprise workspaces sign in through their own identity provider with SAML 2.0. The assertion consumer service checks that the response carries a valid signature, then reads the user from the first Assertion element in the document."
            },
            {
              "type": "p",
              "text": "A member who holds any signed response from the workspace's identity provider can insert an unsigned assertion naming another member before the signed one. The signature still verifies, because it covers the original element, and the service opens a session for the member named in the inserted assertion. This attack is known as XML signature wrapping."
            }
          ]
        },
        {
          "title": "Root cause analysis",
          "blocks": [
            {
              "type": "p",
              "text": "Verification and extraction use two different lookups. The verifier follows the Reference URI of the signature; the extractor takes the first Assertion in document order."
            },
            {
              "type": "code",
              "label": "services/auth/src/saml/acs.ts",
              "status": "",
              "text": "const doc = parseXml(form.SAMLResponse);\nif (!verifySignature(doc, ws.idpCert)) throw new AuthError('signature');\n// the first Assertion in the document, signed or not\nconst assertion = doc.getElementsByTagNameNS(SAML_NS, 'Assertion')[0];\nreturn createSession(ws, readNameId(assertion));"
            },
            {
              "type": "p",
              "text": "The verification helper returns true when one signature in the document is valid. It does not report which element that signature covers."
            }
          ]
        },
        {
          "title": "Impact",
          "blocks": [
            {
              "type": "quote",
              "title": "Any member of an SSO workspace can sign in as any other member of that workspace, including its administrators.",
              "text": "Administrators can export every contract, change the identity provider settings and create API keys, so one takeover extends to the whole workspace."
            },
            {
              "type": "p",
              "text": "The attack does not cross tenants: each workspace pins its own identity provider certificate, so a response signed for one workspace is rejected by the others."
            }
          ]
        },
        {
          "title": "Severity considerations",
          "blocks": [
            {
              "type": "p",
              "text": "AC:H because the attacker needs a signed response from the workspace's identity provider, which takes an account there, and must replay it inside the assertion validity window. PR:N because no Corbelline privilege is needed to post to the endpoint. Confidentiality and Integrity are High through the administrator session."
            }
          ]
        },
        {
          "title": "Proof of concept",
          "blocks": [
            {
              "type": "code",
              "label": "Modified SAMLResponse, abridged",
              "status": "",
              "text": "<samlp:Response ID=\"_r81c\" ...>\n <saml:Assertion ID=\"_forged\">           <!-- unsigned, read first -->\n  <saml:Subject><saml:NameID>admin.c@tenant-c.example</saml:NameID>\n </saml:Assertion>\n <saml:Assertion ID=\"_a42f\">             <!-- original, signed -->\n  <ds:Signature>...<ds:Reference URI=\"#_a42f\"/>...</ds:Signature>\n  <saml:Subject><saml:NameID>editor.c@tenant-c.example</saml:NameID>\n </saml:Assertion>\n</samlp:Response>"
            },
            {
              "type": "exhibit",
              "label": "Captured HTTP transcript",
              "file": "cbl-03-acs-replay.txt · text/plain · 3.4 KB"
            },
            {
              "type": "xpart",
              "label": "Request",
              "status": "POST /sso/saml/acs HTTP/1.1",
              "text": "Host: app.corbelline.example\nContent-Type: application/x-www-form-urlencoded\n\nSAMLResponse=PHNhbWxwOlJlc3BvbnNl...[6.1 KB, abridged]&RelayState=%2Fhome"
            },
            {
              "type": "xpart",
              "label": "Response",
              "status": "HTTP/1.1 302 Found",
              "text": "Location: /home\nSet-Cookie: cbl_session=[REDACTED]; Secure; HttpOnly; SameSite=Lax"
            },
            {
              "type": "xpart",
              "label": "Request",
              "status": "GET /v2/me HTTP/1.1",
              "text": "Host: app.corbelline.example"
            },
            {
              "type": "xpart",
              "label": "Response",
              "status": "HTTP/1.1 200 OK",
              "text": "{\"email\":\"admin.c@tenant-c.example\",\"role\":\"Admin\",\"workspace\":\"tenant-c\"}"
            },
            {
              "type": "caption",
              "text": "Exhibit C.2. The replayed response opens an administrator session."
            }
          ]
        },
        {
          "title": "Remediation",
          "blocks": [
            {
              "type": "li",
              "text": "Read the user only from the element the verified signature references: take the ID from its Reference and select the Assertion with that ID."
            },
            {
              "type": "li",
              "text": "Reject responses with more than one Assertion, and validate each response against the SAML schema before use."
            },
            {
              "type": "li",
              "text": "Require signed assertions, not only signed responses, and record assertion IDs to refuse replays."
            }
          ]
        }
      ]
    },
    {
      "id": "CBL-04",
      "severity": "Medium",
      "severityKey": "medium",
      "status": "Open",
      "statusKey": "open",
      "title": "Clause comments render javascript: links in the reviewer's session",
      "cvss": 5.4,
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "category": "Stored Cross-Site Scripting",
      "cwe": "CWE-79",
      "owasp": "A05:2025 Injection",
      "affected": "app.corbelline.example · Negotiation view, clause comments",
      "reported": "2026-11-06",
      "sections": [
        {
          "title": "Description",
          "blocks": [
            {
              "type": "p",
              "text": "Reviewers and counterparties discuss clauses in comments that support inline Markdown. The renderer escapes HTML but copies link targets into href unfiltered, so a javascript: URL runs in the reviewer's session when they click it. Counterparties post through a guest link, from outside the customer's organization."
            }
          ]
        },
        {
          "title": "Impact",
          "blocks": [
            {
              "type": "quote",
              "title": "A guest counterparty can run script with the rights of the customer's legal reviewer.",
              "text": "The cookie is HttpOnly, but the script acts as the reviewer: it can approve a clause, change a value or download the contract. UI:R because the reviewer must click; Scope Changed because the script runs in the browser."
            }
          ]
        },
        {
          "title": "Proof of concept",
          "blocks": [
            {
              "type": "exhibit",
              "label": "Captured HTTP transcript",
              "file": "cbl-04-comment.txt · text/plain · 0.9 KB"
            },
            {
              "type": "xpart",
              "label": "Request",
              "status": "POST /v2/guest/negotiations/ng_7Qx2/comments HTTP/1.1",
              "text": "Host: api.corbelline.example\n\n{\"clauseId\":\"cl_0912\",\n \"body\":\"[See revised terms](javascript:alert(document.domain))\"}"
            },
            {
              "type": "xpart",
              "label": "Response",
              "status": "HTTP/1.1 201 Created",
              "text": ""
            },
            {
              "type": "xpart",
              "label": "Rendered in the reviewer's view",
              "status": "",
              "text": "<a href=\"javascript:alert(document.domain)\">See revised terms</a>"
            },
            {
              "type": "caption",
              "text": "Exhibit C.3. A guest posts the comment; the reviewer's view renders the link as is."
            }
          ]
        },
        {
          "title": "Remediation",
          "blocks": [
            {
              "type": "li",
              "text": "Allow only https: and mailto: link targets, checked after decoding, in the sanitizer configuration."
            },
            {
              "type": "li",
              "text": "Show guest links as plain text until approved, and remove 'unsafe-inline' (CBL-09)."
            }
          ]
        }
      ]
    },
    {
      "id": "CBL-05",
      "severity": "Medium",
      "severityKey": "medium",
      "status": "Open",
      "statusKey": "open",
      "title": "Contract register export writes counterparty values as spreadsheet formulas",
      "cvss": 5.4,
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "category": "CSV Injection",
      "cwe": "CWE-1236",
      "owasp": "A05:2025 Injection",
      "affected": "app.corbelline.example · Reports, Export register (CSV)",
      "reported": "2026-11-10",
      "sections": [
        {
          "title": "Description",
          "blocks": [
            {
              "type": "p",
              "text": "Counterparty names and custom field values are written to the CSV export as entered. A value that starts with =, +, - or @ is read as a formula when the file opens in a spreadsheet application, and counterparties set their own company name in the guest profile."
            }
          ]
        },
        {
          "title": "Impact",
          "blocks": [
            {
              "type": "quote",
              "title": "A value chosen by a counterparty can run a formula on the computer of the employee who opens the export.",
              "text": "A formula can send cell contents to an external server or start a command. Current spreadsheet applications warn first, so the victim must confirm the prompt."
            }
          ]
        },
        {
          "title": "Remediation",
          "blocks": [
            {
              "type": "li",
              "text": "Prefix with a single quote every cell that starts with =, +, -, @, a tab or a carriage return, and quote every field."
            },
            {
              "type": "li",
              "text": "Offer the register as an XLSX file with values written as text cells."
            }
          ]
        }
      ]
    },
    {
      "id": "CBL-06",
      "severity": "Medium",
      "severityKey": "medium",
      "status": "Risk accepted",
      "statusKey": "accepted",
      "title": "Sessions stay valid after a password change or logout",
      "cvss": 4.8,
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
      "category": "Session Management",
      "cwe": "CWE-613",
      "owasp": "A07:2025 Authentication Failures",
      "affected": "app.corbelline.example · api.corbelline.example",
      "reported": "2026-11-10",
      "sections": [
        {
          "title": "Description",
          "blocks": [
            {
              "type": "p",
              "text": "Sessions are signed tokens with an eight-hour lifetime and no server-side record. Logging out deletes the cookie in the browser only, and a password change leaves the tokens already issued valid, so a stolen token works until it expires. AC:H because the attacker must first obtain a token outside the application."
            }
          ]
        },
        {
          "title": "Remediation",
          "blocks": [
            {
              "type": "li",
              "text": "Keep a server-side session identifier or a per-user token version, checked on each request."
            },
            {
              "type": "li",
              "text": "Revoke every session of a user on password change, role change and sign-out, and give administrators a revoke control."
            }
          ]
        },
        {
          "title": "Risk acceptance",
          "blocks": [
            {
              "type": "p",
              "text": "Accepted by Corbelline's CISO on 18 November 2026 until 31 March 2027, with compensating controls: idle timeout reduced to 30 minutes, token lifetime reduced to four hours, and an alert when one token is used from two countries."
            }
          ]
        }
      ]
    },
    {
      "id": "CBL-07",
      "severity": "Low",
      "severityKey": "low",
      "status": "Open",
      "statusKey": "open",
      "title": "The signing portal does not send an HSTS header",
      "cvss": 3.1,
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N",
      "category": "Transport Security",
      "cwe": "CWE-319",
      "owasp": "A04:2025 Cryptographic Failures",
      "affected": "sign.corbelline.example",
      "reported": "2026-11-04",
      "sections": [
        {
          "title": "Description",
          "blocks": [
            {
              "type": "p",
              "text": "The e-signature portal answers on port 80 with a redirect to HTTPS, but sends no HSTS header: it is static content behind its own load balancer, and the header that app.corbelline.example sends covers that host's subdomains only. A signer who types the address, or follows an old http:// link, sends the first request in clear text."
            }
          ]
        },
        {
          "title": "Impact",
          "blocks": [
            {
              "type": "quote",
              "title": "On a hostile network, an attacker can keep a signer on plain HTTP and read the document behind the signing link.",
              "text": "An attacker running a rogue access point waits for a request over plain HTTP, strips the redirect and reads the token in the URL. Applying a signature also requires the one-time code sent by email, so only the preview is exposed. AC:H for the network position, UI:R because the signer opens the link."
            }
          ]
        },
        {
          "title": "Proof of concept",
          "blocks": [
            {
              "type": "exhibit",
              "label": "Captured response headers",
              "file": "cbl-07-headers.txt · text/plain · 0.6 KB"
            },
            {
              "type": "xpart",
              "label": "Command",
              "status": "$ curl -s -I http://sign.corbelline.example/s/demo",
              "text": "HTTP/1.1 301 Moved Permanently\nLocation: https://sign.corbelline.example/s/demo"
            },
            {
              "type": "xpart",
              "label": "Command",
              "status": "$ curl -s -I https://sign.corbelline.example/s/demo | grep -ci strict-transport",
              "text": "0"
            },
            {
              "type": "caption",
              "text": "Exhibit C.4. The portal redirects to HTTPS but never sets HSTS."
            }
          ]
        },
        {
          "title": "Remediation",
          "blocks": [
            {
              "type": "li",
              "text": "Send Strict-Transport-Security: max-age=31536000; includeSubDomains from the signing portal's load balancer."
            },
            {
              "type": "li",
              "text": "Once every corbelline.example host serves HTTPS only, set the header on the apex domain with includeSubDomains, and expire signing links after first use."
            }
          ]
        }
      ]
    },
    {
      "id": "CBL-08",
      "severity": "Low",
      "severityKey": "low",
      "status": "Open",
      "statusKey": "open",
      "title": "The webhook ingress accepts TLS 1.0 and TLS 1.1",
      "cvss": 3.7,
      "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N",
      "category": "Transport Security",
      "cwe": "CWE-327",
      "owasp": "A04:2025 Cryptographic Failures",
      "affected": "hooks.corbelline.example:443 · 198.51.100.31",
      "reported": "2026-11-04",
      "sections": [
        {
          "title": "Description",
          "blocks": [
            {
              "type": "p",
              "text": "The endpoint that receives integration events negotiates TLS 1.0 and TLS 1.1 with CBC cipher suites, in addition to TLS 1.2 and 1.3. RFC 8996 deprecates both versions. Exploiting their weaknesses takes a man-in-the-middle position and a client that still offers them, hence AC:H."
            }
          ]
        },
        {
          "title": "Remediation",
          "blocks": [
            {
              "type": "li",
              "text": "Disable TLS 1.0, TLS 1.1 and the CBC suites on the ingress listener; keep TLS 1.2 with AEAD suites, and TLS 1.3."
            },
            {
              "type": "li",
              "text": "Tell integration partners before the change, then monitor handshake failures."
            }
          ]
        }
      ]
    },
    {
      "id": "CBL-09",
      "severity": "Informational",
      "severityKey": "info",
      "status": "Open",
      "statusKey": "open",
      "title": "The Content Security Policy allows inline scripts",
      "cvss": null,
      "vector": "Not scored",
      "category": "Defense in Depth",
      "cwe": "CWE-693",
      "owasp": "A02:2025 Security Misconfiguration",
      "affected": "app.corbelline.example",
      "reported": "2026-11-06",
      "sections": [
        {
          "title": "Description",
          "blocks": [
            {
              "type": "p",
              "text": "The policy sets script-src 'self' 'unsafe-inline' https://cdn.corbelline.example. 'unsafe-inline' lets inline scripts and javascript: URLs run, which removes the protection the policy gives against cross-site scripting such as CBL-04."
            }
          ]
        },
        {
          "title": "Remediation",
          "blocks": [
            {
              "type": "li",
              "text": "Remove 'unsafe-inline' once inline scripts are moved to files or carry a nonce, after a trial of the stricter policy in report-only mode."
            }
          ]
        }
      ]
    }
  ]
}