Horizon Alert
Summary of the vulnerability and why it matters
This vulnerability affects NocoDB, a web-based database management tool, allowing authenticated users to potentially hijack accounts by injecting malicious scripts. The core issue lies in how the application processes user-provided input within its formula rendering, which could enable attackers to steal sensitive session information from other users. The main concern is confirming relevance and exposure to your deployed instances.
- Malicious scripts can be injected into database fields.
- Attackers can steal session tokens and take over accounts.
- Confirm relevance and exposure for deployed instances.
Attack Path
How an attacker could exploit the issue
An attacker with Creator or Editor access can inject malicious markup into fields that are processed by URL() formulas. This markup is then rendered without proper sanitization by the canvas grid, potentially leading to the theft of session tokens from localStorage and unauthorized account takeover.
- Authenticated access required.
- Inject markup into formula fields.
- Session token theft and account takeover.
Live Threat
Current exploitation, exposure, and threat context
A stored cross-site scripting vulnerability in NocoDB could allow authenticated users with Creator or Editor roles to execute arbitrary scripts. This occurs when unsanitized markup injected into fields is rendered through URL() formulas, potentially leading to session token theft when other users view the affected table.
- User session tokens.
- Injecting malicious markup into fields.
- Account takeover of viewing users.
Operational Fix
Recommended remediation, mitigation, and detection steps
The NocoDB platform's stored cross-site scripting vulnerability impacts authenticated users with Creator or Editor roles, posing a risk of account takeover. Application owners, in conjunction with platform or infrastructure teams, should prioritize identifying all NocoDB instances, assessing their exposure and business criticality, and then planning remediation or mitigation strategies.
- Identify NocoDB instances and ownership.
- Verify user roles and reachability.
- Plan remediation or mitigation.