BreachSpiderVerified, not vibes

CVE-2018-6831 in Foscam C1 and 63 more products

High 7.2

The setSystemTime function in Foscam Cameras C1 Lite V3, and C1 V3 with firmware 2.82.2.33 and earlier, FI9800P V3, FI9803P V4, FI9851P V3, and FI9853EP V2 2.84.2.33 and earlier, FI9816P V3, FI9821EP V2, FI9821P V3, FI9826P V3, and FI9831P V3 2.81.2.33 and earlier, C1, C1 V2, C1 Lite, and C1 Lite V2 2.52.2.47 and ea...

Affects 64 products from 1 vendor. Facts below cite their sources.

CVSS 3.07.2
EPSS4.4%
EPSS percentile92th
FixSee advisory

Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Foscam C1 (device and firmware) ≤ 2.82.2.33
Foscam C1 Lite (device and firmware) ≤ 2.82.2.33
Foscam C2 (device and firmware) ≤ 2.72.1.59
Foscam Fi9826P (device and firmware) ≤ 2.81.2.33
Foscam Fi9828P (device and firmware) ≤ 2.13.1.120
Foscam Fi9851P (device and firmware) ≤ 2.54.2.47
Foscam Fi9853Ep (device and firmware) ≤ 2.22.2.31
Foscam Fi9901Ep (device and firmware) ≤ 2.74.1.59
Foscam Fi9928P (device and firmware) ≤ 2.74.1.58
Foscam R2 (device and firmware) ≤ 2.71.1.59
Foscam Fi9800P (device and firmware) ≤ 2.81.2.33
Foscam Fi9821Ep (device and firmware) ≤ 2.81.2.33
Foscam Fi9821P (device and firmware) ≤ 2.81.2.33
Foscam Fi9831P (device and firmware) ≤ 2.81.2.33
Foscam Fi9803P (device and firmware) ≤ 2.54.2.47
Foscam Fi9815P (device and firmware) ≤ 2.51.2.47
Foscam Fi9816P (device and firmware) ≤ 2.51.2.47
Foscam R4 (device and firmware) ≤ 2.71.1.59
Foscam Fi9961Ep (device and firmware) ≤ 2.72.1.59
Foscam Fi9900Ep (device and firmware) ≤ 2.74.1.59
Foscam Fi9900P (device and firmware) ≤ 2.74.1.59
Foscam Fi9803Ep (device and firmware) ≤ 2.22.2.31
Foscam Fi9821W (device and firmware) ≤ 2.11.1.120
Foscam Fi9831W (device and firmware) ≤ 2.11.1.120
Foscam Fi9826W (device and firmware) ≤ 2.11.1.120
Foscam Fi9818W (device and firmware) ≤ 2.13.2.120
Foscam Fi9805W (device and firmware) ≤ 2.14.1.120
Foscam Fi9804W (device and firmware) ≤ 2.14.1.120
Foscam Fi9804P (device and firmware) ≤ 2.14.1.120
Foscam Fi9805E (device and firmware) ≤ 2.14.1.120
Foscam Fi9805P (device and firmware) ≤ 2.14.1.120
Foscam Fi9828W (device and firmware) ≤ 2.13.1.120

Show 24 more products

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

The setSystemTime function in Foscam Cameras C1 Lite V3, and C1 V3 with firmware 2.82.2.33 and earlier, FI9800P V3, FI9803P V4, FI9851P V3, and FI9853EP V2 2.84.2.33 and earlier, FI9816P V3, FI9821EP V2, FI9821P V3, FI9826P V3, and FI9831P V3 2.81.2.33 and earlier, C1, C1 V2, C1 Lite, and C1 Lite V2 2.52.2.47 and earlier, FI9800P, FI9800P V2, FI9803P V2, FI9803P V3, and FI9851P V2 2.54.2.47 and earlier, FI9815P, FI9815P V2, FI9816P, and FI9816P V2, 2.51.2.47 and earlier, R2 and R4 2.71.1.59 and earlier, C2 and FI9961EP 2.72.1.59 and earlier, FI9900EP, FI9900P, and FI9901EP 2.74.1.59 and earlier, FI9928P 2.74.1.58 and earlier, FI9803EP and FI9853EP 2.22.2.31 and earlier, FI9803P and FI9851P 2.24.2.31 and earlier, FI9821P V2, FI9826P V2, FI9831P V2, and FI9821EP 2.21.2.31 and earlier, FI9821W V2, FI9831W, FI9826W, FI9821P, FI9831P, and FI9826P 2.11.1.120 and earlier, FI9818W V2 2.13.2.120 and earlier, FI9805W, FI9804W, FI9804P, FI9805E, and FI9805P 2.14.1.120 and earlier, FI9828P, and FI9828W 2.13.1.120 and earlier, and FI9828P V2 2.11.1.133 and earlier allows remote authenticated users to execute arbitrary commands via a ';' in the ntpServer argument. NOTE: this issue exists because of an incomplete fix for CVE-2017-2849.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2018-6831
BreachSpider IDBS-2018-GLOBAL-131134-H
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Published2018-07-09
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-78: OS Command Injection

Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.

Related attack patterns (CAPEC)

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78

CAPEC-108 Command Line Execution through SQL Injection via CWE-78

CAPEC-6 Argument Injection via CWE-78

CAPEC-15 Command Delimiters via CWE-78

CAPEC-88 OS Command Injection via CWE-78

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2018. A high severity vulnerability affects Foscam systems (CVE-2018-6831). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: The setSystemTime function in Foscam Cameras C1 Lite V3, and C1 V3 with firmware 2.82.2.33 and earlier, FI9800P V3, FI9803P V4, FI9851P V3, and FI9853EP V2 2.84.2.33 and earlier, FI9816P V3, FI9821EP V2, FI9821P V3, FI9826P V3, and FI9831P V3 2.81.2.33 and earlier, C1, C1 V2, C1 Lite, and C1 Lite V2 2.52.2.47 and earlier, FI9800P, FI9800P V2, FI9803P V2, FI9803P V3, and FI9851P V2 2.54.2.47 and earlier, FI9815P, FI9815P V2, FI9816P, and FI9816P V2, 2.51.2.47 and earlier, R2 and R4 2.71.1.59 and CVSS vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

Questions

What is CVE-2018-6831?

This vulnerability was disclosed in 2018. A high severity vulnerability affects Foscam systems (CVE-2018-6831). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2018-6831?

CVE-2018-6831 has CVSS 7.2 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. EPSS: 4.4%.

Is CVE-2018-6831 actively exploited?

No confirmed active exploitation of CVE-2018-6831 as of 2026-09-25.

How do I remediate CVE-2018-6831?

Priority: MEDIUM. Advisory: https://www.foscam.com/company/securing-your-foscam-camera-important-notice.html PSIRT: [email protected]

What systems are affected by CVE-2018-6831?

CVE-2018-6831 affects Foscam C1, C1 Lite, C2, Fi9826P, Fi9828P, Fi9851P, Fi9853Ep, Fi9901Ep, Fi9928P, R2 (plus 22 more products).

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Foscam","product":"C1","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.