cve.bz

CVE-2018-6831 foscam: OS Command Injection

7.2 highExploit referenceEPSS 4.4%

High (7.2) in foscam. EPSS 4.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.2 high
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
4.4% (unchanged from 4.4% a week ago; 4.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-6831 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-6831?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-6831?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-6831 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
foscam:c1_lite_firmwarethrough 2.82.2.33
foscam:c1_firmwarethrough 2.82.2.33
foscam:fi9800p_firmwarethrough 2.81.2.33
foscam:fi9821ep_firmwarethrough 2.81.2.33
foscam:fi9821p_firmwarethrough 2.81.2.33
foscam:fi9826p_firmwarethrough 2.81.2.33
foscam:fi9831p_firmwarethrough 2.81.2.33
foscam:c1_firmwarethrough 2.52.2.47
foscam:c1_lite_firmwarethrough 2.52.2.47
foscam:fi9800p_firmwarethrough 2.54.2.47
foscam:fi9803p_firmwarethrough 2.54.2.47
foscam:fi9851p_firmwarethrough 2.54.2.47
foscam:fi9815p_firmwarethrough 2.51.2.47
foscam:fi9816p_firmwarethrough 2.51.2.47
foscam:r2_firmwarethrough 2.71.1.59
foscam:r4_firmwarethrough 2.71.1.59
foscam:c2_firmwarethrough 2.72.1.59
foscam:fi9961ep_firmwarethrough 2.72.1.59
foscam:fi9900ep_firmwarethrough 2.74.1.59
foscam:fi9900p_firmwarethrough 2.74.1.59
foscam:fi9901ep_firmwarethrough 2.74.1.59
foscam:fi9928p_firmwarethrough 2.74.1.58
foscam:fi9803ep_firmwarethrough 2.22.2.31
foscam:fi9853ep_firmwarethrough 2.22.2.31
foscam:fi9803p_firmwarethrough 2.24.2.31
foscam:fi9851p_firmwarethrough 2.24.2.31
foscam:fi9821p_firmwarethrough 2.21.2.31
foscam:fi9826p_firmwarethrough 2.21.2.31
foscam:fi9831p_firmwarethrough 2.21.2.31
foscam:fi9821ep_firmwarethrough 2.21.2.31
foscam:fi9821w_firmwarethrough 2.11.1.120
foscam:fi9831w_firmwarethrough 2.11.1.120
foscam:fi9826w_firmwarethrough 2.11.1.120
foscam:fi9821p_firmwarethrough 2.11.1.120
foscam:fi9831p_firmwarethrough 2.11.1.120
foscam:fi9826p_firmwarethrough 2.11.1.120
foscam:fi9818w_firmwarethrough 2.13.2.120
foscam:fi9805w_firmwarethrough 2.14.1.120
foscam:fi9804w_firmwarethrough 2.14.1.120
foscam:fi9804p_firmwarethrough 2.14.1.120
foscam:fi9805e_firmwarethrough 2.14.1.120
foscam:fi9805p_firmwarethrough 2.14.1.120
foscam:fi9828p_firmwarethrough 2.13.1.120
foscam:fi9828w_firmwarethrough 2.13.1.120
foscam:fi9828p_firmwarethrough 2.11.1.133

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON