Skip to content

v1.3.1 #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions docs/pages/announcements/firebase-storage-2024.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -140,20 +140,27 @@ Yes. Ensuring **system integrity** and **strong security measures** is critical

Activating a paid Firebase subscription unlocks advanced features, but security considerations must be addressed first. Unresolved security flaws introduced in the latest major updates for ACAP 2.0+ could lead to <u>data breaches</u>, <u>unauthorized changes</u>, and <u>increased costs</u>.

<Callout type="error">
Before activating a paid Firebase subscription, consider whether unresolved [ACAP Security Technical Debts](/changelog#acap-2-security-debts) exist. **ACAP 2.0+ introduces known security flaws** that may impact user confidentiality, system integrity, and reliability.
<Callout type="error" emoji="">
🚫

Before activating a paid Firebase subscription, consider whether unresolved [ACAP Security Technical Debts](/changelog#acap-2-security-debts) exist. **[ACAP 2.0+](/changelog/#version-2-acap-20) introduces known security flaws** that may impact user confidentiality, system integrity, and reliability.

#### Key issues include:

1. **Lenient Firestore security rules** – Direct **writes via Firestore REST APIs** bypass front-end controls, potentially allowing unauthorized data entry.
```
```text copy
Temporary Mitigation: Restrict writes using Firestore security rules.
Permanent Mitigation: Perform database WRITE operations from the
Node backend coupled with data validation.
```
2. **Cross-Site Scripting (XSS) vulnerability** – **WYSIWYG crop recommendations** (only when editing recommendations) allow unvalidated HTML input, which may lead to stored XSS attacks (malicious scripts that persist in the database and execute when viewed).
Permanent Mitigation: Permanently restrict writes using
Firestore security rules and perform database WRITE operations
from the Node backend coupled with data validation.
```
2. **Cross-Site Scripting (XSS) vulnerability** – **WYSIWYG crop recommendations** (only when "editing" recommendations) allow unvalidated HTML input, which may lead to stored XSS attacks (malicious scripts that persist in the database and execute when viewed).
```text copy
Temporary Mitigation: Implement input sanitization before storage.
Permanent Mitigation: Permanently restrict writes using
Firestore security rules and perform database WRITE operations
from the Node backend coupled with more
robust/predictable data sanitization.
```
3. **Firestore database pollution** – Insufficient validation in **"Support Services"** data allows disorganized writes, which could:
- Lead to excessive Firebase usage.
Expand Down