CWE-20
Weakness DiscouragedImproper Input Validation
Abstraction: Class · Status: Stable
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Technical nuance
Input validation is a frequently-used technique for checking potentially dangerous inputs in order to ensure that the inputs are safe for processing within the code, or when communicating with other components.
Input can consist of:
raw data - strings, numbers, parameters, file contents, etc.
metadata - information about the raw data, such as headers or size
Data can be simple or structured. Structured data can be composed of many nested layers, composed of combinations of metadata and raw data, with other simple or structured data.
Many properties of raw data or metadata may need to be validated upon entry into the code, such as:
specified quantities such as size, length, frequency, price, rate, number of operations, time, etc.
implied or derived quantities, such as the actual size of a file instead of a specified size
indexes, offsets, or positions into more complex data structures
symbolic keys or other elements into hash tables, associative arrays, etc.
well-formedness, i.e. syntactic correctness - compliance with expected syntax
lexical token correctness - compliance with rules for what is treated as a token
specified or derived type - the actual type of the input (or what the input appears to be)
consistency - between individual data elements, between raw data and metadata, between references, etc.
conformance to domain-specific rules, e.g. business logic
equivalence - ensuring that equivalent inputs are treated the same
authenticity, ownership, or other attestations about the input, e.g. a cryptographic signature to prove the source of the data
Implied or derived properties of data must often be calculated or inferred by the code itself. Errors in deriving properties may be considered a contributing factor to improper input validation.
Dimensions
- Behavior-Type: Validation
- Behavior-Property: Improper
- Input-Type: Input
Mapping guidance
CWE-20 is commonly misused in low-information vulnerability reports when lower-level CWEs could be used instead, or when more details about the vulnerability are available [REF-1287]. It is not useful for trend analysis. It is also a level-1 Class (i.e., a child of a Pillar). Finally, CWE-20 is often misused when the root cause issue is related to how input is incorrectly transformed, instead of "validated" to be correct as-is.
Within CWE, the "input validation" term focuses on the act of checking whether an input is already safe, which is different from other techniques that ensure safe processing of input. Carefully perform root-cause analysis to be sure that the issue is not due to techniques that attempt to transform potentially-dangerous input into something safe, such as filtering (CWE-790) - which attempts to remove dangerous inputs - or encoding/escaping (CWE-116), which attempts to ensure that the input is not misinterpreted when it is included in output to another component.
If the issue is truly due to improper input validation, consider using lower-level children.
Relationships and members
Modes of introduction
REALIZATION: This weakness is caused during implementation of an architectural security tactic.
If a programmer believes that an attacker cannot modify certain inputs, then the programmer might not perform any input validation at all. For example, in web applications, many programmers believe that cookies and hidden form fields can not be modified from a web browser (CWE-472), although they can be altered using a proxy or a custom program. In a client-server architecture, the programmer might assume that client-side security checks cannot be bypassed, even when a custom client could be written that skips those checks (CWE-602).
Detection methods
Automated Static Analysis
Some instances of improper input validation can be detected using automated static analysis.
A static analysis tool might allow the user to specify which application-specific methods or functions perform input validation; the tool might also have built-in knowledge of validation frameworks such as Struts. The tool may then suppress or de-prioritize any associated warnings. This allows the analyst to focus on areas of the software in which input validation does not appear to be present.
Except in the cases described in the previous paragraph, automated static analysis might not be able to recognize when proper input validation is being performed, leading to false positives - i.e., warnings that do not have any security consequences or require any code changes.
Manual Static Analysis
When custom input validation is required, such as when enforcing business rules, manual analysis is necessary to ensure that the validation is properly implemented.
Fuzzing
Fuzzing techniques can be useful for detecting input validation errors. When unexpected inputs are provided to the software, the software should not crash or otherwise become unstable, and it should generate application-controlled error messages. If exceptions or interpreter-generated error messages occur, this indicates that the input was not detected and handled within the application logic itself.
Automated Static Analysis - Binary or Bytecode
According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
Bytecode Weakness Analysis - including disassembler + source code weakness analysis
Binary Weakness Analysis - including disassembler + source code weakness analysis
Effectiveness: SOAR Partial
Manual Static Analysis - Binary or Bytecode
According to SOAR [REF-1479], the following detection techniques may be useful:
Cost effective for partial coverage:
Binary / Bytecode disassembler - then use manual analysis for vulnerabilities & anomalies
Effectiveness: SOAR Partial
Dynamic Analysis with Automated Results Interpretation
According to SOAR [REF-1479], the following detection techniques may be useful:
Highly cost effective:
Web Application Scanner
Web Services Scanner
Database Scanners
Effectiveness: High
Dynamic Analysis with Manual Results Interpretation
According to SOAR [REF-1479], the following detection techniques may be useful:
Highly cost effective:
Fuzz Tester
Framework-based Fuzzer
Cost effective for partial coverage:
Host Application Interface Scanner
Monitored Virtual Environment - run potentially malicious code in sandbox / wrapper / virtual machine, see if it does anything suspicious
Effectiveness: High
Manual Static Analysis - Source Code
According to SOAR [REF-1479], the following detection techniques may be useful:
Highly cost effective:
Focused Manual Spotcheck - Focused manual analysis of source
Manual Source Code Review (not inspections)
Effectiveness: High
Automated Static Analysis - Source Code
According to SOAR [REF-1479], the following detection techniques may be useful:
Highly cost effective:
Source code Weakness Analyzer
Context-configured Source Code Weakness Analyzer
Effectiveness: High
Architecture or Design Review
According to SOAR [REF-1479], the following detection techniques may be useful:
Highly cost effective:
Inspection (IEEE 1028 standard) (can apply to requirements, design, source code, etc.)
Formal Methods / Correct-By-Construction
Cost effective for partial coverage:
Attack Modeling
Effectiveness: High
Notes
Relationship
CWE-116 and CWE-20 have a close association because, depending on the nature of the structured message, proper input validation can indirectly prevent special characters from changing the meaning of a structured message. For example, by validating that a numeric ID field should only contain the 0-9 characters, the programmer effectively prevents injection attacks.
Multiple techniques exist to transform potentially dangerous input into something safe, which is different than "validation," which is a technique to check if an input is already safe. CWE users need to be cautious during root cause analysis to ensure that an issue is truly an input-validation problem.
Maintenance
As of 2020, this entry is used more often than preferred, and it is a source of frequent confusion. It is being actively modified for CWE 4.1 and subsequent versions.
Maintenance
Concepts such as validation, data transformation, and neutralization are being refined, so relationships between CWE-20 and other entries such as CWE-707 may change in future versions, along with an update to the Vulnerability Theory document.
Maintenance
Input validation - whether missing or incorrect - is such an essential and widespread part of secure development that it is implicit in many different weaknesses. Traditionally, problems such as buffer overflows and XSS have been classified as input validation problems by many security professionals. However, input validation is not necessarily the only protection mechanism available for avoiding such problems, and in some cases it is not even sufficient. The CWE team has begun capturing these subtleties in chains within the Research Concepts view (CWE-1000), but more work is needed.
Terminology
The "input validation" term is extremely common, but it is used in many different ways. In some cases its usage can obscure the real underlying weakness or otherwise hide chaining and composite relationships.
Some people use "input validation" as a general term that covers many different neutralization techniques for ensuring that input is appropriate, such as filtering, i.e., attempting to remove dangerous inputs (related to CWE-790); encoding/escaping, i.e., attempting to ensure that the input is not misinterpreted when it is included in output to another component (related to CWE-116); or canonicalization, which often indirectly removes otherwise-dangerous inputs. Others use the term in a narrower context to simply mean "checking if an input conforms to expectations without changing it." CWE uses this narrow interpretation.
Note that "input validation" has very different meanings to different people, or within different classification schemes. Caution must be used when referencing this CWE entry or mapping to it. For example, some weaknesses might involve inadvertently giving control to an attacker over an input when they should not be able to provide an input at all, but sometimes this is referred to as input validation.
Finally, it is important to emphasize that the distinctions between input validation and output escaping are often blurred. Developers must be careful to understand the difference, including how input validation is not always sufficient to prevent vulnerabilities, especially when less stringent data types must be supported, such as free-form text. Consider a SQL injection scenario in which a person's last name is inserted into a query. The name "O'Reilly" would likely pass the validation step since it is a common last name in the English language. However, this valid name cannot be directly inserted into the database because it contains the "'" apostrophe character, which would need to be escaped or otherwise transformed. In this case, removing the apostrophe might reduce the risk of SQL injection, but it would produce incorrect behavior because the wrong name would be recorded.
Content history
Contributed usability diagram concepts used by the CWE team.
updated Potential_Mitigations, Time_of_Introduction
Suggested OWASP Top Ten 2004 mapping
updated Relationships, Other_Notes, Taxonomy_Mappings
updated Relationships, Taxonomy_Mappings
updated Applicable_Platforms, Common_Consequences, Demonstrative_Examples, Description, Likelihood_of_Exploit, Name, Observed_Examples, Other_Notes, Potential_Mitigations, References, Relationship_Notes, Relationships
updated Description, Potential_Mitigations
updated Related_Attack_Patterns
updated Relationships
updated Common_Consequences, Demonstrative_Examples, Maintenance_Notes, Modes_of_Introduction, Observed_Examples, Relationships, Research_Gaps, Terminology_Notes
updated Applicable_Platforms, Demonstrative_Examples, Detection_Factors
updated Detection_Factors, Potential_Mitigations, References, Taxonomy_Mappings
updated Related_Attack_Patterns
updated Potential_Mitigations, Research_Gaps, Terminology_Notes
updated Potential_Mitigations, Relationships
updated Demonstrative_Examples, Description
updated Observed_Examples
updated Applicable_Platforms, Common_Consequences, Relationship_Notes
updated Relationships, Taxonomy_Mappings
updated Demonstrative_Examples, References, Related_Attack_Patterns, Relationships
updated Potential_Mitigations
updated Relationships
updated Relationships
updated Demonstrative_Examples, Related_Attack_Patterns
updated Detection_Factors, Relationships, Taxonomy_Mappings
updated Relationships
updated Related_Attack_Patterns, Relationships
updated Related_Attack_Patterns, Relationships
updated Modes_of_Introduction, References, Relationships, Taxonomy_Mappings
updated References
updated Related_Attack_Patterns, Relationships
updated Related_Attack_Patterns, Relationships
updated Relationships
updated Potential_Mitigations, References, Related_Attack_Patterns, Relationships
updated Applicable_Platforms, Demonstrative_Examples, Description, Maintenance_Notes, Observed_Examples, Potential_Mitigations, References, Relationship_Notes, Relationships, Research_Gaps, Terminology_Notes
updated Potential_Mitigations, Related_Attack_Patterns, Relationships
updated Description, Potential_Mitigations
updated Related_Attack_Patterns, Relationships
updated Relationships
updated Relationships
updated Observed_Examples, Relationships
updated References, Relationships
updated References, Relationships
updated Mapping_Notes, Relationships
updated Observed_Examples
updated Observed_Examples
updated Relationships
updated Common_Consequences, Description, Diagram, Mapping_Notes, Potential_Mitigations, Relationship_Notes, Terminology_Notes
updated Detection_Factors, References
updated Relationships, Weakness_Ordinalities
updated Applicable_Platforms, Mapping_Notes
updated Applicable_Platforms, Description, Dimensions, Mapping_Notes, Observed_Examples, References, Relationships, Taxonomy_Mappings, Technical_Nuance
18679 vulnerabilities reference this CWE, most recent first.
CVE-2026-0933 (GCVE-0-2026-0933)
Vulnerability from cvelistv5 – Published: 2026-01-20 22:58 – Updated: 2026-01-23 21:54- CWE-20 - Improper Input Validation
| Vendor | Product | Version | |
|---|---|---|---|
| Cloudflare | Wrangler |
Affected:
v3.0.0 , ≤ v3.114.16
(semver)
Affected: v4.0.0 , ≤ v4.59.0 (semver) Affected: v2.0.15+ |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-0933",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-01-23T18:58:09.879547Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-01-23T21:54:58.842Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageName": "Wrangler",
"product": "Wrangler",
"repo": "https://github.com/cloudflare/workers-sdk",
"vendor": "Cloudflare",
"versions": [
{
"lessThanOrEqual": "v3.114.16",
"status": "affected",
"version": "v3.0.0",
"versionType": "semver"
},
{
"lessThanOrEqual": "v4.59.0",
"status": "affected",
"version": "v4.0.0",
"versionType": "semver"
},
{
"status": "affected",
"version": "v2.0.15+"
}
]
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003ch2\u003e\u003cspan style=\"background-color: transparent;\"\u003e\u003cb\u003eSummary\u003c/b\u003e\u003c/span\u003e\u003c/h2\u003e\u003cp\u003e\u003cspan style=\"background-color: transparent;\"\u003eA command injection vulnerability (CWE-78) has been found to exist in the `wrangler pages deploy` command. The issue occurs because the `--commit-hash` parameter is passed directly to a shell command without proper validation or sanitization, allowing an attacker with control of `--commit-hash` to execute arbitrary commands on the system running Wrangler.\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cspan style=\"background-color: transparent;\"\u003e\u003cbr\u003e\u003c/span\u003e\u003c/p\u003e\u003ch3\u003e\u003cspan style=\"background-color: transparent;\"\u003e\u003cb\u003eRoot cause\u003c/b\u003e\u003c/span\u003e\u003c/h3\u003e\u003cp\u003e\u003cspan style=\"background-color: transparent;\"\u003eThe \u003c/span\u003e\u003cspan style=\"background-color: rgb(233, 238, 246);\"\u003ecommitHash\u003c/span\u003e\u003cspan style=\"background-color: transparent;\"\u003e variable, derived from user input via the --commit-hash \u003c/span\u003e\u003cspan style=\"background-color: transparent;\"\u003eCLI argument, is interpolated directly into a shell command using template literals (e.g., \u0026nbsp;\u003cspan style=\"background-color: rgb(233, 238, 246);\"\u003eexecSync(`git show -s --format=%B ${commitHash}`)\u003c/span\u003e\u003cspan style=\"background-color: transparent;\"\u003e)\u003c/span\u003e\u003c/span\u003e\u003cspan style=\"background-color: transparent;\"\u003e. Shell metacharacters are interpreted by the shell, enabling command execution.\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cspan style=\"background-color: transparent;\"\u003e\u003cbr\u003e\u003c/span\u003e\u003c/p\u003e\u003ch3\u003e\u003cspan style=\"background-color: transparent;\"\u003e\u003cb\u003eImpact\u003c/b\u003e\u003c/span\u003e\u003c/h3\u003e\u003cp\u003e\u003cspan style=\"background-color: transparent;\"\u003eThis vulnerability is generally hard to exploit, as it requires --commit-hash to be attacker controlled. The vulnerability primarily affects CI/CD environments where `wrangler pages deploy` is used in automated pipelines and the \u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cspan style=\"background-color: transparent;\"\u003e--commit-hash\u003c/span\u003e\u003cspan style=\"background-color: transparent;\"\u003e\u0026nbsp;parameter is populated from external, potentially untrusted sources. An attacker could exploit this to:\u003c/span\u003e\u003c/p\u003e\u003cul\u003e\u003cli\u003e\u003cspan style=\"background-color: transparent;\"\u003eRun any shell command.\u003c/span\u003e\u003c/li\u003e\u003cli\u003eExfiltrate environment variables.\u003c/li\u003e\u003cli\u003eCompromise the CI runner to install backdoors or modify build artifacts.\u003c/li\u003e\u003c/ul\u003e\u003cbr\u003e\u003ch3\u003e\u003cspan style=\"background-color: transparent;\"\u003e\u003cb\u003eCredits\u003c/b\u003e\u003c/span\u003e\u003c/h3\u003e\u003cp\u003e\u003cspan style=\"background-color: transparent;\"\u003e Disclosed responsibly by \u003c/span\u003e\u003cspan style=\"background-color: rgb(255, 255, 255);\"\u003ekny4hacker.\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cspan style=\"background-color: rgb(255, 255, 255);\"\u003e\u003cbr\u003e\u003c/span\u003e\u003c/p\u003e\u003ch3\u003eMitigation\u003cbr\u003e\u003c/h3\u003e\u003cul\u003e\u003cli\u003e\u003cspan style=\"background-color: transparent;\"\u003eWrangler v4 users are requested to upgrade to Wrangler v4.59.1 or higher.\u003c/span\u003e\u003c/li\u003e\u003cli\u003eWrangler v3 users are requested to upgrade to \u003cspan style=\"background-color: transparent;\"\u003eWrangler v3.114.17 or higher.\u003c/span\u003e\u003c/li\u003e\u003cli\u003eUsers on Wrangler v2 (EOL) should upgrade to a supported major version.\u003c/li\u003e\u003c/ul\u003e\u003cbr\u003e\u003cbr\u003e"
}
],
"value": "SummaryA command injection vulnerability (CWE-78) has been found to exist in the `wrangler pages deploy` command. The issue occurs because the `--commit-hash` parameter is passed directly to a shell command without proper validation or sanitization, allowing an attacker with control of `--commit-hash` to execute arbitrary commands on the system running Wrangler.\n\n\n\n\nRoot causeThe commitHash variable, derived from user input via the --commit-hash CLI argument, is interpolated directly into a shell command using template literals (e.g., \u00a0execSync(`git show -s --format=%B ${commitHash}`)). Shell metacharacters are interpreted by the shell, enabling command execution.\n\n\n\n\nImpactThis vulnerability is generally hard to exploit, as it requires --commit-hash to be attacker controlled. The vulnerability primarily affects CI/CD environments where `wrangler pages deploy` is used in automated pipelines and the \n\n--commit-hash\u00a0parameter is populated from external, potentially untrusted sources. An attacker could exploit this to:\n\n * Run any shell command.\n * Exfiltrate environment variables.\n * Compromise the CI runner to install backdoors or modify build artifacts.\n\n\n\nCredits Disclosed responsibly by kny4hacker.\n\n\n\n\nMitigation\n * Wrangler v4 users are requested to upgrade to Wrangler v4.59.1 or higher.\n * Wrangler v3 users are requested to upgrade to Wrangler v3.114.17 or higher.\n * Users on Wrangler v2 (EOL) should upgrade to a supported major version."
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 7.7,
"baseSeverity": "HIGH",
"exploitMaturity": "NOT_DEFINED",
"privilegesRequired": "LOW",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "LOW",
"subIntegrityImpact": "LOW",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "HIGH",
"vulnIntegrityImpact": "HIGH",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20 Improper Input Validation",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-01-20T22:58:05.212Z",
"orgId": "a22f1246-ba21-4bb4-a601-ad51614c1513",
"shortName": "cloudflare"
},
"references": [
{
"url": "https://github.com/cloudflare/workers-sdk"
}
],
"source": {
"discovery": "UNKNOWN"
},
"title": "OS Command Injection in `wrangler pages deploy`",
"x_generator": {
"engine": "Vulnogram 0.5.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "a22f1246-ba21-4bb4-a601-ad51614c1513",
"assignerShortName": "cloudflare",
"cveId": "CVE-2026-0933",
"datePublished": "2026-01-20T22:58:05.212Z",
"dateReserved": "2026-01-14T08:27:27.244Z",
"dateUpdated": "2026-01-23T21:54:58.842Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-0919 (GCVE-0-2026-0919)
Vulnerability from cvelistv5 – Published: 2026-01-27 17:52 – Updated: 2026-04-29 16:14- CWE-20 - Improper Input Validation
| Vendor | Product | Version | |
|---|---|---|---|
| TP-Link Systems Inc. | Tapo C220 v1 |
Affected:
0 , < 1.4.2 Build 251112
(custom)
|
|
| TP-Link Systems Inc. | Tapo C520WS v2 |
Affected:
0 , < 1.2.3 Build 251114
(custom)
|
|
| TP Link Systems Inc. | Tapo C210 v3 |
Affected:
0 , < 1.2.6 Build 260328
(custom)
|
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-0919",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-01-27T18:08:59.269424Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-01-27T18:10:00.577Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"modules": [
"http service"
],
"product": "Tapo C220 v1",
"vendor": "TP-Link Systems Inc.",
"versions": [
{
"lessThan": "1.4.2 Build 251112",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
},
{
"defaultStatus": "unaffected",
"product": "Tapo C520WS v2",
"vendor": "TP-Link Systems Inc.",
"versions": [
{
"lessThan": "1.2.3 Build 251114",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
},
{
"defaultStatus": "unaffected",
"product": "Tapo C210 v3",
"vendor": "TP Link Systems Inc.",
"versions": [
{
"lessThan": "1.2.6 Build 260328",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Diogo Almeida @NeWbie"
},
{
"lang": "en",
"type": "finder",
"value": "Giuseppe Signorelli"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "The HTTP parser of Tapo C210 v3, C220 v1 and C520WS v2 cameras improperly handles requests containing an excessively long URL path. An invalid\u2011URL error path continues into cleanup code that assumes allocated buffers exist, leading to a crash and service restart.\u0026nbsp;An unauthenticated attacker can force repeated service crashes or device reboots, causing denial of service."
}
],
"value": "The HTTP parser of Tapo C210 v3, C220 v1 and C520WS v2 cameras improperly handles requests containing an excessively long URL path. An invalid\u2011URL error path continues into cleanup code that assumes allocated buffers exist, leading to a crash and service restart.\u00a0An unauthenticated attacker can force repeated service crashes or device reboots, causing denial of service."
}
],
"impacts": [
{
"capecId": "CAPEC-153",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-153 Input Data Manipulation"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "ADJACENT",
"baseScore": 7.1,
"baseSeverity": "HIGH",
"exploitMaturity": "NOT_DEFINED",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20 Improper Input Validation",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-04-29T16:14:38.524Z",
"orgId": "f23511db-6c3e-4e32-a477-6aa17d310630",
"shortName": "TPLink"
},
"references": [
{
"tags": [
"patch"
],
"url": "https://www.tp-link.com/us/support/download/tapo-c220/v1.60/"
},
{
"tags": [
"patch"
],
"url": "https://www.tp-link.com/en/support/download/tapo-c220/v1/"
},
{
"tags": [
"patch"
],
"url": "https://www.tp-link.com/us/support/download/tapo-c520ws/v2/"
},
{
"tags": [
"patch"
],
"url": "https://www.tp-link.com/en/support/download/tapo-c520ws/v2/"
},
{
"tags": [
"vendor-advisory"
],
"url": "https://www.tp-link.com/us/support/faq/4923/"
},
{
"tags": [
"patch"
],
"url": "https://www.tp-link.com/us/support/download/tapo-c210/v3/"
},
{
"tags": [
"patch"
],
"url": "https://www.tp-link.com/en/support/download/tapo-c210/v3/"
}
],
"source": {
"discovery": "UNKNOWN"
},
"title": "Unauthenticated Denial of Service via Oversized URL in HTTP Parser on TP-Link Tapo C210, C220 \u0026 C520WS",
"x_generator": {
"engine": "Vulnogram 0.5.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "f23511db-6c3e-4e32-a477-6aa17d310630",
"assignerShortName": "TPLink",
"cveId": "CVE-2026-0919",
"datePublished": "2026-01-27T17:52:39.170Z",
"dateReserved": "2026-01-13T19:44:02.718Z",
"dateUpdated": "2026-04-29T16:14:38.524Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-0848 (GCVE-0-2026-0848)
Vulnerability from cvelistv5 – Published: 2026-03-05 20:48 – Updated: 2026-03-06 16:31- CWE-20 - Improper Input Validation
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-0848",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-03-06T16:30:57.313646Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-03-06T16:31:01.105Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://huntr.com/bounties/08b109bb-ac24-403f-9422-1c246ce60202"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "nltk/nltk",
"vendor": "nltk",
"versions": [
{
"lessThanOrEqual": "latest",
"status": "affected",
"version": "unspecified",
"versionType": "custom"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "NLTK versions \u003c=3.9.2 are vulnerable to arbitrary code execution due to improper input validation in the StanfordSegmenter module. The module dynamically loads external Java .jar files without verification or sandboxing. An attacker can supply or replace the JAR file, enabling the execution of arbitrary Java bytecode at import time. This vulnerability can be exploited through methods such as model poisoning, MITM attacks, or dependency poisoning, leading to remote code execution. The issue arises from the direct execution of the JAR file via subprocess with unvalidated classpath input, allowing malicious classes to execute when loaded by the JVM."
}
],
"metrics": [
{
"cvssV3_0": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 10,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
"version": "3.0"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20 Improper Input Validation",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-03-05T20:48:05.364Z",
"orgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
"shortName": "@huntr_ai"
},
"references": [
{
"url": "https://huntr.com/bounties/08b109bb-ac24-403f-9422-1c246ce60202"
}
],
"source": {
"advisory": "08b109bb-ac24-403f-9422-1c246ce60202",
"discovery": "EXTERNAL"
},
"title": "Arbitrary Code Execution in NLTK StanfordSegmenter via Untrusted JAR Loading"
}
},
"cveMetadata": {
"assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
"assignerShortName": "@huntr_ai",
"cveId": "CVE-2026-0848",
"datePublished": "2026-03-05T20:48:05.364Z",
"dateReserved": "2026-01-10T23:59:44.115Z",
"dateUpdated": "2026-03-06T16:31:01.105Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-0637 (GCVE-0-2026-0637)
Vulnerability from cvelistv5 – Published: 2026-08-06 07:33 – Updated: 2026-11-04 13:47| URL | Tags |
|---|---|
| https://security.docs.wso2.com/en/latest/security… | vendor-advisory |
| Vendor | Product | Version | |
|---|---|---|---|
| WSO2 | WSO2 API Manager |
Unknown:
0 , < 3.2.0
(custom)
Affected: 3.2.0 , < 3.2.0.464 (custom) Affected: 3.2.1 , < 3.2.1.83 (custom) Affected: 4.1.0 , < 4.1.0.249 (custom) Affected: 4.2.0 , < 4.2.0.189 (custom) Affected: 4.3.0 , < 4.3.0.99 (custom) Affected: 4.4.0 , < 4.4.0.63 (custom) Affected: 4.5.0 , < 4.5.0.44 (custom) Affected: 4.6.0 , < 4.6.0.12 (custom) |
|
| WSO2 | WSO2 API Control Plane |
Unknown:
0 , < 4.5.0
(custom)
Affected: 4.5.0 , < 4.5.0.45 (custom) Affected: 4.6.0 , < 4.6.0.13 (custom) |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-0637",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-06T12:32:02.648926Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-08-06T12:32:09.382Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "WSO2 API Manager",
"vendor": "WSO2",
"versions": [
{
"lessThan": "3.2.0",
"status": "unknown",
"version": "0",
"versionType": "custom"
},
{
"lessThan": "3.2.0.464",
"status": "affected",
"version": "3.2.0",
"versionType": "custom"
},
{
"lessThan": "3.2.1.83",
"status": "affected",
"version": "3.2.1",
"versionType": "custom"
},
{
"lessThan": "4.1.0.249",
"status": "affected",
"version": "4.1.0",
"versionType": "custom"
},
{
"lessThan": "4.2.0.189",
"status": "affected",
"version": "4.2.0",
"versionType": "custom"
},
{
"lessThan": "4.3.0.99",
"status": "affected",
"version": "4.3.0",
"versionType": "custom"
},
{
"lessThan": "4.4.0.63",
"status": "affected",
"version": "4.4.0",
"versionType": "custom"
},
{
"lessThan": "4.5.0.44",
"status": "affected",
"version": "4.5.0",
"versionType": "custom"
},
{
"lessThan": "4.6.0.12",
"status": "affected",
"version": "4.6.0",
"versionType": "custom"
}
]
},
{
"defaultStatus": "unaffected",
"product": "WSO2 API Control Plane",
"vendor": "WSO2",
"versions": [
{
"lessThan": "4.5.0",
"status": "unknown",
"version": "0",
"versionType": "custom"
},
{
"lessThan": "4.5.0.45",
"status": "affected",
"version": "4.5.0",
"versionType": "custom"
},
{
"lessThan": "4.6.0.13",
"status": "affected",
"version": "4.6.0",
"versionType": "custom"
}
]
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "When a proxy server is configured with `customUrl.enabled`, the component accepts user-supplied input within forwarded HTTP headers without enforcing expected validation constraints. A malicious actor can manipulate these headers to influence the URL construction process, leading to an open redirect vulnerability. Additionally, unsanitized header values are written to application logs.\n\nAn attacker can exploit this to force redirection to arbitrary malicious domains, potentially enabling phishing attacks. Furthermore, they can inject forged entries into application logs, impacting the reliability of security logs and potentially hindering incident investigation."
}
],
"value": "When a proxy server is configured with `customUrl.enabled`, the component accepts user-supplied input within forwarded HTTP headers without enforcing expected validation constraints. A malicious actor can manipulate these headers to influence the URL construction process, leading to an open redirect vulnerability. Additionally, unsanitized header values are written to application logs.\n\nAn attacker can exploit this to force redirection to arbitrary malicious domains, potentially enabling phishing attacks. Furthermore, they can inject forged entries into application logs, impacting the reliability of security logs and potentially hindering incident investigation."
}
],
"impacts": [
{
"capecId": "CAPEC-609",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-609 CAPEC-609: Header Injection"
}
]
},
{
"capecId": "CAPEC-120",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-120 CAPEC-120: Open Redirect"
}
]
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 5.4,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
"version": "3.1"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20: Improper Input Validation",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-74",
"description": "CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component (\u0027Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-04T13:47:20.802Z",
"orgId": "ed10eef1-636d-4fbe-9993-6890dfa878f8",
"shortName": "WSO2"
},
"references": [
{
"tags": [
"vendor-advisory"
],
"url": "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4829/"
}
],
"solutions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cspan style=\"background-color: transparent;\"\u003eFollow the instructions given on \u003c/span\u003e\u003ca target=\"_blank\" rel=\"nofollow\" href=\"https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4829/#solution\"\u003e\u003cspan style=\"background-color: transparent;\"\u003ehttps://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4829/#solution\u003c/span\u003e\u003c/a\u003e \u003cbr\u003e"
}
],
"value": "Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4829/#solution https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4829/#solution"
}
],
"source": {
"advisory": "WSO2-2025-4829",
"discovery": "INTERNAL"
},
"title": "Header Injection via Custom URL Configuration in Multiple WSO2 Products Allows Open Redirect and Log Forgery",
"x_generator": {
"engine": "Vulnogram 0.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "ed10eef1-636d-4fbe-9993-6890dfa878f8",
"assignerShortName": "WSO2",
"cveId": "CVE-2026-0637",
"datePublished": "2026-08-06T07:33:20.334Z",
"dateReserved": "2026-01-06T05:51:26.145Z",
"dateUpdated": "2026-11-04T13:47:20.802Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-0543 (GCVE-0-2026-0543)
Vulnerability from cvelistv5 – Published: 2026-01-13 21:10 – Updated: 2026-01-13 21:25- CWE-20 - Improper Input Validation
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-0543",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-01-13T21:22:53.219447Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-01-13T21:25:59.853Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Kibana",
"vendor": "Elastic",
"versions": [
{
"lessThanOrEqual": "8.19.9",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.17.29",
"status": "affected",
"version": "7.0.0",
"versionType": "semver"
},
{
"lessThanOrEqual": "9.1.9",
"status": "affected",
"version": "9.0.0",
"versionType": "semver"
},
{
"lessThanOrEqual": "9.2.3",
"status": "affected",
"version": "9.2.0",
"versionType": "semver"
}
]
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eImproper Input Validation (CWE-20) in Kibana\u0027s Email Connector can allow an attacker to cause an Excessive Allocation (CAPEC-130) through a specially crafted email address parameter. This requires an attacker to have authenticated access with view-level privileges sufficient to execute connector actions. The application attempts to process specially crafted email format, resulting in complete service unavailability for all users until manual restart is performed.\u003c/p\u003e"
}
],
"value": "Improper Input Validation (CWE-20) in Kibana\u0027s Email Connector can allow an attacker to cause an Excessive Allocation (CAPEC-130) through a specially crafted email address parameter. This requires an attacker to have authenticated access with view-level privileges sufficient to execute connector actions. The application attempts to process specially crafted email format, resulting in complete service unavailability for all users until manual restart is performed."
}
],
"impacts": [
{
"capecId": "CAPEC-664",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-664 Server Side Request Forgery"
}
]
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20 Improper Input Validation",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-01-13T21:10:38.663Z",
"orgId": "271b6943-45a9-4f3a-ab4e-976f3fa05b5a",
"shortName": "elastic"
},
"references": [
{
"url": "https://discuss.elastic.co/t/kibana-8-19-10-9-1-10-9-2-4-security-update-esa-2026-08/384523"
}
],
"source": {
"discovery": "Elastic"
},
"title": "Improper Input Validation in Kibana Email Connector Leading to Excessive Allocation",
"x_generator": {
"engine": "Elastic CVE Publisher 0.0.1"
}
}
},
"cveMetadata": {
"assignerOrgId": "271b6943-45a9-4f3a-ab4e-976f3fa05b5a",
"assignerShortName": "elastic",
"cveId": "CVE-2026-0543",
"datePublished": "2026-01-13T21:10:38.663Z",
"dateReserved": "2025-12-31T12:02:48.756Z",
"dateUpdated": "2026-01-13T21:25:59.853Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
GCVE-1988-2026-0507
Vulnerability from gna-1988 – Published: 2026-11-02 07:30 – Updated: 2026-11-02 07:30{
"containers": {
"cna": {
"affected": [
{
"product": "Rax120",
"vendor": "Netgear",
"versions": [
{
"status": "affected",
"version": "unknown"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "disclosure via Fulldisclosure"
}
],
"descriptions": [
{
"lang": "en",
"value": "0day Rubbish Research Team is publicly disclosing a vulnerability in NETGEAR\nRAX120 (Nighthawk AX12) firmware V1.2.5.18, the WiFi 6 consumer router from\nNETGEAR (United States), built on the Qualcomm IPQ8074 platform. The\nadministrative web plane of this firmware generation is a lighttpd server\nfronting the vendor\u0027s DNI-framework CGI handler /usr/sbin/net-cgi (an\naarch64, musl, stripped image; the handler binary measures 1,042,120 bytes\nand its recorded image digest begins d7035dd3), and the SOAP control plane\ndispatches every action through /soap/server_XMLresp.cgi. Among those\nactions is the app-installation control InstallApp of the service\nurn:NETGEAR-ROUTER:service:AppSystem:1, which requires the router\nadministrator\u0027s session.\n\nType and root cause. OS command injection (CWE-78 primary, with CWE-20\nco-equal for the blocklist-style improper input validation, and CWE-426\nrecorded as contributing without raising any metric). The operation takes a\nNewAppName argument and passes it through a blocklist validator whose\n\"apname\" mode (the routine at fcn.000407d8 in the stripped image, mode\nstring at 0xc3058) rejects six characters chosen with shell injection in\nmind: the at-sign, the backtick, the semicolon, the double quote, the\nsingle quote and the backslash. That set covers the classic\nstatement-separator and quote-context breakouts. It does not reject the\ndollar sign or either parenthesis, which are the entire grammar of command\nsubstitution. The handler then embeds the validated name, unquoted, into two\nworking paths (/tmp/\u003cname\u003e_tmp and /sw-apps/\u003cname\u003e, both built by direct\nsnprintf interpolation) and then into three shell command lines:\n\n system(\"rm -rf /sw-apps/\u003cname\u003e/version.txt \u003e /dev/console\")\n system(\"rm -rf /sw-apps/\u003cname\u003e \u003e /dev/console\")\n popen(\"rm -rf /tmp/\u003cname\u003e_tmp; mkdir /tmp/\u003cname\u003e_tmp;\n tar -zxf /tmp/\u003ctarball\u003e -C /tmp/\u003cname\u003e_tmp\", \"r\")\n\nEach sink executes through /bin/sh -c, so a second parse happens inside a\nshell the validator never modeled. A name of the shape x$(cmd) substitutes\nattacker-chosen command text before the rm words ever run, and the shell\u0027s\nparser walks the whole command line with a substitution pass before\nexecuting any word of it, so the injected command fires whether or not the\nsurrounding rm errors out. An intermediate string processor in the handler\nwalk (recorded at fcn.00079060) rewrites carriage returns and line feeds to\nspaces and performs no other transformation, so no downstream mitigation\nexists: the dollar sign, pipe, ampersand and every other metacharacter pass\nuntouched. Two gates sit ahead of the validator, a 255-character length cap\non the name and a value gate on the companion NewUpdate element, and both\nare compatible with the payload, which is under 30 characters.\n\nExecution identity. system() and popen() children inherit the identity of\nthe web stack that calls them, and the research record identifies, from the\nfirmware image\u0027s own lighttpd configuration, the server\u0027s configured\nruntime user as root, so command text supplied through this handler\ninherits device-root authority by product configuration. The dynamic\nverification measured exactly that identity in a sink-level replication:\nmarkers carrying uid=0(root) gid=0(root) groups=0(root) from all three\nvectors, and none from a benign control name.\n\nAuthentication, credited plainly. This is not an unauthenticated finding\nand no unauthenticated variant of it is claimed. The gate is identified from\nthe artifacts as the administrative SOAP login bound to the requesting\nstation\u0027s MAC address, failing closed; the chain consumes a legitimate\nadministrator session and neither bypasses nor forges it. It is also not a\ndefault-credential finding: the same request succeeds whatever the\nadministrator password is. No second web-account tier with reach into this\nservice exists in any artifact examined, which is what fixes Privileges\nRequired at High. The product gets the gate right and the argument\nconstruction wrong; this is a CWE-78/CWE-20 defect, not CWE-306 and not\nCWE-862.\n\nWhy this handler and not a hundred others. The DNI framework also contains\nan exec helper (recorded at fcn.000779f0) that runs commands through\nvfork() plus execve() with an argument vector, architecturally immune to\nshell injection, and large parts of the firmware use it. A census of the\nshell-mediated remainder classified on the order of 150+ system() sites,\nalmost all of them fixed string constants loaded by address arithmetic with\nno substitution, and about 54 popen() sites. The app-installation handler\nis the single family in the analysed image that interpolates an\nattacker-controlled SOAP argument into a shell command line, so the defect\nis one handler rather than a platform-wide sloppy pattern.\n\nThe sibling platform. The same root cause was confirmed on the NETGEAR\nR7800 (Nighthawk X4S), firmware V1.0.2.68: a different SoC generation\n(Broadcom BCM4709), a different instruction set (32-bit ARM), a different\nhandler binary (recorded digest beginning c5a9f2b3) and a different\nvalidator function whose reject set is only the double quote, the single\nquote and the backslash, which is strictly more permissive than the main\nmodel\u0027s six. The identical x$(cmd) payload passed that validator and\nexecuted through the same handler family in that platform\u0027s own sink-level\nreplication, with three root markers of its own and a clean control. The\nmerge is argued at the level of root cause, not build identity, and the\nplatform differences are stated rather than smoothed over. Other models\nshipping this framework\u0027s app-system code were not audited, and the vendor\u0027s\nolder R6700/R7000/R8000 generation runs a different self-built httpd lineage\nthat does not contain this handler, so no claim is made about it.\n\nVerification boundary, stated in full, because it defines what is and is not\nbeing claimed. No physical router was driven during verification and no\nlive SOAP request was fired at device hardware, at any point, in any phase\nof this work. The request path, the session gate and the parameter\nextraction are established at disassembly level from the shipped image. The\ninjection behaviour at the sink is established by a sink-level replication:\non an isolated cloud-hosted sandbox, a natively compiled C program\nre-implemented the disassembled validator logic, the CRLF-normalising string\nprocessor and all three command constructions, run with the root privilege\nmodel the image\u0027s lighttpd configuration records for the web stack. Three\nvectors, one per sink, each carrying x$(id\u003e/tmp/\u003cmarker\u003e) through the\nreplicated validator and construction, each produced a marker containing\nuid=0(root) gid=0(root) groups=0(root); a benign control name traversing\nthe identical code path produced none. The control is the load-bearing\nnegative: it makes the marker creation attributable to the substitution\ncontent alone, not to the surrounding construction or the harness. Not\nperformed and not claimed: any end-to-end HTTP round trip against device\nhardware, any cross-station or cross-network detonation, any persistence\nmechanism, any radio-firmware or hardware-adjacent effect, and any memory\ncorruption. There is none in the chain, which is metacharacter-class gap\nand nothing else. The landing-identity mapping rests on the image\u0027s own\nconfiguration artifact read as text, not on a live-device observation.\n\nScoring. One score is published: 6.8 Medium,\nCVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. The arithmetic is printed so\nany reader can reproduce it under the CVSS 3.1 base algorithm and its\nround-up-to-the-tenth rule: ISS = 1 - (0.44 x 0.44 x 0.44) = 0.914816;\nImpact for Scope Unchanged = 6.42 x 0.914816 = 5.873119; Exploitability =\n8.22 x 0.62 (adjacent) x 0.77 x 0.27 x 0.85 = 0.900610; sum = 6.773729;\nRoundup = 6.8. Attack Vector is Adjacent because the SOAP control plane\nbelongs to the router\u0027s local administrative service and no shipped\nartifact examined establishes that the action answers on the wide-area side\nof an unmodified deployment; the reading is argued from the product\u0027s\ntransport and the recovered session model, not demonstrated between two\nhosts.\n\nTwo alternative readings are published, each labelled. A conditional\nreading at 7.2 High (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, from\nExploitability 1.234708 and sum 7.107827) applies where the management\nplane is deliberately exposed beyond the adjacent network, by enabled\nremote administration, by a port forward directed at the SOAP responder, or\nby a management relay; it is conditional on a deployment choice this\nresearch did not measure, and it is not the headline. Two further readings\nare published as rejected with their arithmetic: a hypothetical\nlower-privilege web tier at PR:L computes to 8.8 with AV:N (Exploitability\n2.835255, sum 8.708374) and to 8.0 with AV:A, and both are rejected because\nthe app-installation control plane is administrator-only on this firmware\nand no artifact documents a secondary account class with web access to this\nservice, so no principal exists to justify Low privileges.\n\nOne correction to the researchers\u0027 own record is published rather than\nquietly made. The internal research ledger behind this advisory carried 8.8\nfor this chain. Recomputation rejects it: 8.8 is the arithmetic of the same\nimpact profile read at Low privilege, and the documented chain requires the\ndevice administrator, so no vector supported by this evidence computes to\nthe recorded figure. The published score is 6.8, computed from the vector,\nwith the discrepancy recorded in the advisory rather than silently\noverwritten, because a number that was quietly changed is a number nobody\ndownstream can audit. Correcting it lowered the published figure.\n\nImpact. Command execution as the root-configured web stack, from a position\nof an administrator credential the holder was never meant to convert into an\noperating-system shell. Concretely: the complete configuration store\nincluding credentials retained by the firmware; creation or modification of\naccounts, startup scripts and scheduled tasks within the writable\nfilesystem; reconfiguration of interfaces, routes and the DNS resolver the\nLAN depends on; redirection or observation of LAN traffic according to the\nplatform\u0027s own capabilities, turning the network\u0027s chokepoint device into an\ninterior attack position; and degradation of service at will, including\nthrough the very rm -rf constructions this chain lives in. The chain is\nsilent in product terms: one authenticated POST inside a legitimate\nmanagement action, with no log-relevant traffic pattern beyond ordinary\napp-management use. Persistence was not tested and is not claimed; what\nsurvives a factory reset or reflash was not tested and is not claimed.\n\nMitigation summary: replace the blocklist with an allowlist for the\napplication name, [A-Za-z0-9][A-Za-z0-9._-]* with the existing length cap;\nstop interpolating the name into shell command lines at all, implementing\ncleanup, directory creation and extraction with unlink(), mkdir() and\nargument-array execve()-family calls or the framework\u0027s own exec helper,\nwhich closes the class for every caller pattern rather than enumerating\ntoday\u0027s metacharacters; if a shell-based implementation must survive one\nrelease cycle, single-quote every interpolated value with literal\nsingle-quote escaping and assert post-construction that the compiled\ncommand contains no dollar sign, failing the request otherwise; drop\nweb-stack privileges so lighttpd and its CGI handlers run as a dedicated\nnon-root identity; patch the sibling model in the same pass, its validator\nbeing strictly more permissive, with one cross-model regression test\nsubmitting $(true) as an application name and asserting no shell-out; adopt\na build rule failing the release on any system() or popen() site that\ninterpolates request data, rather than another manual audit of on the order\nof 54 popen() sites in one binary; and for operators until a patch ships,\nkeep the manag"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-306",
"description": "CWE-306",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-426",
"description": "CWE-426",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-78",
"description": "CWE-78",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-862",
"description": "CWE-862",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-02T07:30:04Z",
"orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"shortName": "VULNARCHIVE"
},
"references": [
{
"tags": [
"technical-description",
"exploit"
],
"url": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/57"
},
{
"tags": [
"technical-description"
],
"url": "https://seclists.org/fulldisclosure/2026/Oct/57"
},
{
"url": "https://0day-rubbish.com"
},
{
"url": "https://0day-rubbish.com/blog/soap-installapp-apname-command-injection-root-rce"
},
{
"url": "https://github.com/Exploit-Garbage/0day-Rubbish"
},
{
"url": "https://nmap.org/mailman/listinfo/fulldisclosure"
},
{
"url": "https://seclists.org/fulldisclosure/"
}
],
"source": {
"defect": [
"https://seclists.org/fulldisclosure/2026/Oct/57"
],
"discovery": "EXTERNAL"
},
"title": "[0day-rubbish] NETGEAR RAX120 V1.2.5.18 authenticated SOAP InstallApp OS command injection to root-configured web-stack execution (6.8 Medium; conditionally 7.2 High with management exposure)",
"x_gcve": [
{
"recordType": "advisory",
"relationships": [],
"vulnId": "GCVE-1988-2026-0507",
"x_vulnarchive": {
"archiveUrl": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/57",
"automated": true,
"contentSha256": "3775d80dede37755e77055c1feaf401d4676226713e2707af3c2b8df6e4b3b6d",
"evidenceScore": 11,
"messageId": "",
"originalUrl": "https://seclists.org/fulldisclosure/2026/Oct/57",
"policy": "vulnarchive-1",
"sourceFormat": "text/html",
"sourcePublishedAt": "2026-10-27T16:39:59Z"
}
}
]
}
},
"cveMetadata": {
"assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"assignerShortName": "VULNARCHIVE",
"datePublished": "2026-11-02T07:30:04Z",
"dateUpdated": "2026-11-02T07:30:04Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1988-2026-0507"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
GCVE-1988-2026-0506
Vulnerability from gna-1988 – Published: 2026-11-02 07:30 – Updated: 2026-11-02 07:30{
"containers": {
"cna": {
"affected": [
{
"product": "PX3 PDU",
"vendor": "Raritan",
"versions": [
{
"status": "affected",
"version": "unknown"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "disclosure via Fulldisclosure"
}
],
"descriptions": [
{
"lang": "en",
"value": "0day Rubbish Research Team is publicly disclosing a vulnerability in the\nRaritan PX3 PDU G4, firmware version 4.3.14, the intelligent rack power\ndistribution unit from Raritan, a Legrand company (United States). A\nlow-privilege authenticated session converts one diagnostics request into\noperating-system command execution in the product\u0027s web-service context,\nbecause the hostname validation that is supposed to gate the ping and\ntraceroute commands produces the correct rejection verdict and the caller then\nexecutes on it anyway.\n\nType and root cause. CWE-78, OS command injection, with CWE-20 co-equal,\nin the diagnostics service of /lib/libisys.so.1.0. The firmware is an aarch64\nembedded Linux image whose web tier is a custom 1.8 MB C++ daemon, /bin/httpd,\nbuilt on an IDL-RPC framework: an authentication subsystem the binary refers\nto as pp::aaa, a JSON-RPC name service, and seventy-five service namespaces,\nall behind per-method authentication. The two diagnostics implementations,\nisys::net::diag::ping at 0x5a988 and isys::net::diag::traceRoute at 0x5ab64,\ndo not perform network operations themselves: they assemble shell command\nstrings from the operator-supplied hostname and execute them through /bin/sh,\nvia pp::BackgroundCommand::open(bgCmd, \"/bin/sh\", argv) at 0x36170, reached\nthrough runShellCommandAndGetResults() at 0x36094, which logs the command it\nis about to run. The templates are ping -c \u003ccount\u003e -W \u003ctimeout\u003e \u003cHOST\u003e 2\u003e\u00261\nand traceroute -w \u003ctimeout\u003e -m 30 \u003cHOST\u003e 2\u003e\u00261, with ping6 and traceroute6\nvariants; the neighbouring string table carries \"ping\", \"ping6\", \"traceroute\",\n\"traceroute6\", \"2\u003e\u00261\" and the source file name \"DiagnosticsImpl.cpp\".\n\nThe defect is a returned verdict consumed with the wrong comparison. The\nvalidation function, validateAndResolveHostName() at 0x5a3f4, is not a stub:\nit walks the hostname character by character, explicitly rejects the percent\nsign and every character above the ASCII colon, cross-checks that the host\nresolves through the resolver service, and returns one constant, three, on\nevery rejection path - the rejection block converges at the load of that\nconstant and returns at 0x5a54c. Both consumers evaluate the verdict with an\nunsigned strictly-greater branch: a return of three is not strictly greater\nthan three, so it falls through, and the rejected hostname is spliced into the\nshell template verbatim. The result is an injection whose success condition is\nthe validator working exactly as designed: a semicolon is caught by the\ncharacter loop, a dollar or parenthesis survives the loop but fails\nresolution, and all of them - caught or unresolved - flow into the command\ntemplate. A host value of 1.1.1.1;id\u003e/tmp/marker;# keeps the ping segment\nsyntactically complete, runs the injected statement as a second shell\nstatement, and the trailing hash comments out the template\u0027s 2\u003e\u00261 suffix; the\nsubshell form and a newline-separated form ride the same rejection path; the\ntraceroute template arms the second entry point identically. The image\ncontains a strict fully-qualified-hostname validator in libnetwork.so, but\nthe web daemon does not import it and the diagnostics library neither links\nnor loads it on this code path.\n\nThe request that reaches the sink looks like this, transmitted as one JSON\nbody over the authenticated RPC channel:\n\n```\n{\n \"jsonrpc\": \"2.0\",\n \"method\": \"net.Diagnostics.ping\",\n \"params\": {\n \"host\": \"1.1.1.1;id\u003e/tmp/marker;#\",\n \"count\": 1,\n \"timeout\": 1\n },\n \"id\": 2\n}\n```\n\nThe same attacker string rides the hostname argument of the corresponding CLI\ncommands. The 2\u003e\u00261 merge suffix is an amplifier the attacker inherits for\nfree: whatever the injected command prints on either stream is captured by the\nsame mechanism that returns ping output, so the response channel doubles as\nthe command-output channel and no out-of-band exfiltration is needed.\n\nReach and privileges. The web methods sit behind the framework\u0027s per-method\nauthentication and no bypass of that boundary was measured. The load-bearing\nprivilege artifact is the shipped CLI configuration, /etc/clish/netdiag.xml:\nping and traceroute are defined with no access attribute - available to every\nauthenticated CLI user in this framework\u0027s grammar - while the neighbouring\nnetstat command carries access=\"admin\". The vendor\u0027s own artifact therefore\ndocuments that these two functions were deliberately placed in the\nall-authenticated-users class, presumably on the theory that a ping is\nharmless. On a rack PDU, management is a network service at a datacenter\u0027s\nsoftest point, and the finding\u0027s effective audience is every monitoring\naccount, operations automation role and integration credential granted \"just\nto poll\".\n\nSeverity. The published score is 8.8 High,\nCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H: ISS = 1 - (1 - 0.56) x (1 -\n0.56) x (1 - 0.56) = 0.914816, impact = 6.42 x 0.914816 = 5.869119,\nexploitability = 8.22 x 0.85 x 0.77 x 0.62 x 0.85 = 2.835255, base =\n5.869119 + 2.835255 = 8.704374, rounded up to 8.8. A PR:N reading of 9.8\nCritical (impact 5.869119 plus exploitability 3.887043, total 9.756162) is\nrejected: no authentication bypass was measured. Two conditional readings are\npublished as explicitly labelled conditionals and never as the headline. The\nfirst applies where a deployment still carries the factory default\nadministrative credential pair recorded in the image\u0027s configuration default\narea for first-boot access: the same PR:N vector computes to 9.8 Critical for\nthe chain of that adjacent weakness plus this injection, and a changed\ncredential removes it; the default pair is disclosed as a separate weakness\nand is not folded into the published vector. The second applies only to\ndeployments in which no low-privilege account is provisioned and every caller\nholds administrator privileges: the PR:H vector computes to 7.2 High\n(exploitability 1.234708 plus 5.869119, total 7.103826), and it is not the\nheadline because the vendor\u0027s own shipped CLI artifact grants diagnostics to\nall authenticated users.\n\nVerification method, and its boundary. Every static claim is measured from the\nfirmware image at instruction level: the templates, the character loop, the\nconverging rejection blocks, the consumers\u0027 compare-and-branch sequences, the\nshell open, and the two import facts. The dynamic layer is a command-level\nreplication of the recovered sink semantics on an isolated research host: the\nexact reconstructed templates were executed through a shell under the\nsemicolon, subshell and traceroute injection shapes, and each produced the\nmarker command\u0027s output, while a metacharacter-free control produced nothing\nand the marker path was confirmed absent afterwards. What was not done: no\nend-to-end exploitation through the management interface of a physical unit.\nNo physical unit was available, and full-system emulation was blocked by the\nmanagement daemon\u0027s dependency on the configuration daemon and the flash\nstorage layer, which an image-only extraction does not provide. Appliance-side\nexecution identity was therefore not measured at runtime and is not claimed;\nthe replication\u0027s shell ran under the research host\u0027s privileged account,\nwhich is a property of the research environment, and the published claims are\nwritten against the web service\u0027s account, whichever that is.\n\nImpact. One authenticated request converts into command execution in the\nprocess context of the web management daemon, with command output returned\nthrough the same response channel. The service\u0027s read reach includes the\nproduct\u0027s configuration and state stores, so configuration data, recorded\ncredentials and network information can be exfiltrated in the same channel\nthat ping output arrives in. Both methods accept repeated calls with fresh\nhostnames, so staging, reading results and cleanup are one request each, and\nno persistence inside the product is needed. On a power distribution product,\navailability is the physical machine state: the injected command executes in\nthe daemon that hosts the outlet control surface, so the ability to cycle\noutlet power, and thereby hard-stop, every machine fed by the unit, follows\nfrom the product\u0027s own function. That consequence is a labelled inference.\nsink level was measured. Detection is poor by construction: the triggering\nrequest is a legitimate diagnostics call that the product logs as the\nassembled shell command, and the strongest available signal is shell-command\nlog review for the two templates.\n\nRemediation, in the order that removes the class: perform ping and traceroute\nwithout a shell, through their library or raw-socket interfaces or an\nargv-array spawn, which removes the CWE-78 class from this handler entirely;\ncorrect the verdict consumption - accept only the documented success returns\nand reject everything else - as a one-line containment that can ship\nimmediately; centralize hostname admission for both entry channels on a\nliteral-or-strict-name allow-list that runs before any command text is\nassembled, using the strict validator already present in the image; audit\nevery other consumer of the shared validation function for the same\nstrictly-greater consumption of the rejection constant; remove the factory\ndefault credential and force a first-login change, which closes the\nconditional unauthenticated chain; add injection regression suites for both\nchannels covering the full character-class table; and make the shell-template\nlog line an alertable event. Operator measures until firmware is fixed: change\nthe factory default immediately, restrict management access to the operations\nnetwork, prefer monitoring roles that need no diagnostics, and alert on\ndiagnostics shell lines whose host segment is not a literal address or strict\nname.\n\nProof of concept. The published tool is a standard-library-only Python 3\nclient that drives the entry path against an explicit target with explicit\ncredentials or a pre-established session token, a configurable command and\nexplicit timeouts; it attempts the two candidate session-establishment routes\nobserved in this framework generation\u0027s front ends and degrades to a supplied\ntoken, and it embeds no addresses, credentials or state of the verification\nenvironment. Safety rails: loopback default, no persistence steps, one\nnon-destructive marker command by default, and no configuration change beyond\nwhat the described request performs. Use it only against systems you own or\nare authorised to test.\n\nThe vendor\u0027s parent company product security team, whose signed RFC 9116\ncontact file on the parent\u0027s primary web host names the intake mailbox used,\nwas notified through that documented security mailbox, which is the only\nchannel used; no security intake of the router brand itself exists, no\npre-publication intake form was submitted, and no individual was addressed by\nname. This disclosure is unconditional: the research is published, no\npermission was asked for, no embargo was requested, nothing is withheld\npending a reply, and remediation questions are answered at no cost. No\nvulnerability identifier has been assigned to this finding.\n\nFull technical analysis and the reproducible proof of concept, published\nunconditionally:\n https://0day-rubbish.com/blog/raritan-px3-pdu-g4-diag-ping-traceroute-command-injection\n\nProject archive (ongoing disclosure series):\n https://github.com/Exploit-Garbage/0day-Rubbish\n\n--\n0day Rubbish Research Team\ndisclosure () 0day-rubbish com\nhttps://0day-rubbish.com\n_______________________________________________\nSent through the Full Disclosure mailing list\nhttps://nmap.org/mailman/listinfo/fulldisclosure\nWeb Archives \u0026 RSS: https://seclists.org/fulldisclosure/"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-78",
"description": "CWE-78",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-02T07:30:04Z",
"orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"shortName": "VULNARCHIVE"
},
"references": [
{
"tags": [
"technical-description",
"exploit"
],
"url": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/54"
},
{
"tags": [
"technical-description"
],
"url": "https://seclists.org/fulldisclosure/2026/Oct/54"
},
{
"url": "https://0day-rubbish.com"
},
{
"url": "https://0day-rubbish.com/blog/raritan-px3-pdu-g4-diag-ping-traceroute-command-injection"
},
{
"url": "https://github.com/Exploit-Garbage/0day-Rubbish"
},
{
"url": "https://nmap.org/mailman/listinfo/fulldisclosure"
},
{
"url": "https://seclists.org/fulldisclosure/"
}
],
"source": {
"defect": [
"https://seclists.org/fulldisclosure/2026/Oct/54"
],
"discovery": "EXTERNAL"
},
"title": "[0day-rubbish] Raritan PX3 PDU G4 firmware 4.3.14 command injection in the ping and traceroute diagnostics through an inverted hostname-validation return check (8.8)",
"x_gcve": [
{
"recordType": "advisory",
"relationships": [],
"vulnId": "GCVE-1988-2026-0506",
"x_vulnarchive": {
"archiveUrl": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/54",
"automated": true,
"contentSha256": "8ab1603aae2c30145f46927eb66bc545f561770746543a7428d7f853ae26dd52",
"evidenceScore": 11,
"messageId": "",
"originalUrl": "https://seclists.org/fulldisclosure/2026/Oct/54",
"policy": "vulnarchive-1",
"sourceFormat": "text/html",
"sourcePublishedAt": "2026-10-27T16:39:44Z"
}
}
]
}
},
"cveMetadata": {
"assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"assignerShortName": "VULNARCHIVE",
"datePublished": "2026-11-02T07:30:04Z",
"dateUpdated": "2026-11-02T07:30:04Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1988-2026-0506"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
GCVE-1988-2026-0504
Vulnerability from gna-1988 – Published: 2026-11-02 07:30 – Updated: 2026-11-02 07:30| Vendor | Product | Version | |
|---|---|---|---|
| Moxa | MAR-2000 firmware |
Affected:
unknown
|
{
"containers": {
"cna": {
"affected": [
{
"product": "MAR-2000 firmware",
"vendor": "Moxa",
"versions": [
{
"status": "affected",
"version": "unknown"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "disclosure via Fulldisclosure"
}
],
"descriptions": [
{
"lang": "en",
"value": "0day Rubbish Research Team is publicly disclosing a vulnerability in the Moxa\nMAR-2000 series industrial 4G/LTE cellular router, firmware image\nFWR_MAR2000_V1.0_Build_15010909, from Moxa Inc. (Taiwan). An authenticated\nadministrator converts one saved monitoring-condition field into recurring,\nproduct-scheduled arbitrary command execution, because the thread that\nimplements the scenario ping condition builds its command line from the\ncondition\u0027s stored parameter values and hands them to a shell, and no layer\nof the backend inspects what those values hold. The delivery needs no second\nrequest: the product\u0027s own scenario watchdog evaluates the condition on its\nschedule, which also makes the payload recur on every evaluation cycle until\nthe condition is deleted. This is one of three independent command injection\nfindings documented for this product and released together as a set.\n\nType and root cause. CWE-78, OS command injection, with CWE-20 co-equal, in\nthe Scenario model at /home/model/scenario/scenario.py inside the ARM\nDebian 6.0.8 root filesystem of the firmware, which runs the vendor\u0027s MIRF\n(Mobile Intelligent Routing Framework) stack: a Node.js Express 4.0\nmanagement application on port 80 bound to all interfaces, the express-sanji\nmiddleware bridging REST resources onto a local MQTT broker, and Python 2.6\nmodel scripts that persist configuration and act on it. The scenario\nfacility is how an operator automates behaviour on a schedule; a condition\nof type ping is the canonical connectivity check. A saved ping condition\ncarries a parameter object with ip (required), interface (defaulting to\neth0) and times (defaulting to 3). When the watchdog reaches the condition\nit starts a background thread whose run method assembles\n\n```\ncmd = \"ping %s -c 1 -w 5 -I %s \" % (ip, interface)\nsubprocess.Popen(cmd, shell=True, stdout=PIPE, stderr=PIPE)\n```\n\nThe interpolation is textual into a single string handed to /bin/sh, so the\nstored bytes are parsed as command syntax, and both stored fields - ip and\ninterface - sit in operand positions of the same template, giving two\nstored fields of one class inside one condition. The values got there\nthrough PUT /api/v1/scenario, where the model\u0027s put handler validates only\nthat the submitted data object exists and is non-empty. No parameter value\nis examined at any layer of the stack: not by the Express middleware, not\nby the message translation, not on the broker leg, not at storage, and not\nwhen the thread reads the condition back.\n\nTwo payload-engineering results are published with the finding because they\nwere measured, not intuited. The template places the stored ip value before\nthe -c 1 and -w 5 flags, so the naive semicolon form that works against\nseveral other sinks does not fit here: it splits the line in front of the\ncount flag, leaves an unbounded ping in the foreground of the evaluating\nthread, and in the replication record the marker never appeared before the\nthread was torn down. The two verified forms are a command substitution,\nwhich the shell expands during command expansion before the ping binary even\nstarts and whose expansion result is discarded into the ping operand, and a\nnewline separator, which leaves the ping its own line with the flags intact\nand runs the injected text as a second command line. The failing form is\nalso a finding in its own right: the same unvalidated field, used with the\nnaive form, turns the monitoring thread into a blocked thread - a\ndenial-of-service lever against the product\u0027s scenario machinery.\n\nThe one-request chain looks like this after login:\n\n```\nPUT /api/v1/scenario\n{\"data\": {\"condition\": [{\n \"name\": \"connectivity_check\",\n \"type\": \"ping\",\n \"parameter\": {\n \"ip\": \"$(id \u003e \u003cmarker\u003e)\",\n \"interface\": \"eth0\",\n \"times\": 3\n }}]}}\n-\u003e stored verbatim (the put handler checks only that data exists,\n is non-empty); the watchdog\u0027s next evaluation starts the thread\n-\u003e cmd = \"ping $(id \u003e \u003cmarker\u003e) -c 1 -w 5 -I eth0 \"\n-\u003e the shell expands the substitution before ping execs; the\n marker carries the proof, ping then exits quickly, and the\n condition re-evaluates on the next cycle\n```\n\nAuthentication and reach. The validateUser middleware is the only\nauthentication check on the REST surface: it requires a server-side session\nfor every non-GET method, and login is POST /api/login compared against\nbcrypt-hashed entries in the SQLite user table. The PUT that stores the\npayload requires the session; past that check there is no second\nauthorisation layer, the broker leg carries no identity, and the model\nimplements no permission judgement, so the product\u0027s single documented\nrole, the device administrator, is the whole security boundary. The\nlistener binds all interfaces on port 80 in the shipped firmware; no WAN\nexposure is assumed anywhere in the published rating.\n\nSeverity. The published score is 7.2 High,\nCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, from ISS = 0.914816, impact\n5.873119, exploitability 1.234708 and base 7.107826 rounded up to 7.2,\nPrivileges Required High being the product\u0027s single administrator role. A\nlabelled conditional and never the headline: where a deployment still runs\nthe factory default administrator pair carried by the shipped firmware\u0027s\nSQLite user table, the prerequisite collapses and the chain reads 9.8\nCritical on the PR:N vector (exploitability 3.887043, base 9.760161); a\nchanged credential removes it, and the default pair is disclosed as a\nseparate weakness, never folded into the published vector. A PR:L reading\nof 8.8 High is published only as the arithmetic of the rejected variant.\nThe score provenance is disclosed in public: the research record behind\nthis advisory carried 8.8 for all three same-product findings, that figure\nis the arithmetic of a PR:L vector, no artefact shows a lower-privileged\nproduct role, and every published number was recomputed from its own\nvector - which lowered the researchers\u0027 own figure by 1.6 points. A\nScope-Changed reading computes to 9.1 and is deliberately not published,\nbecause the model process belongs to the same single-purpose appliance\nauthority, and running scheduled monitoring through the management plane\nis the product\u0027s design rather than an escape.\n\nVerification method, and its boundary. Two evidence classes carry the\nfinding, kept separate in the published advisory. The firmware\u0027s own\napplication sources establish the scenario write path, the write handler\u0027s\nvalidation scope and the thread construction, read from the shipped files.\nThe dynamic layer is a sink-level replication on an isolated cloud Linux\nsandbox: the exact template with the same shell=True launch and both pipes\ncaptured, executed under the substitution form, the newline form, the naive\nsemicolon form and a benign control. Both verified forms produced a marker\nfile containing uid=0(root); the naive form produced no marker in the tested\nwindow, for the unbounded-ping reason described above; the control ran a\nnormal bounded ping and produced nothing. The boundary is stated plainly:\nend-to-end detonation against powered-on hardware, including the\nwatchdog\u0027s exact evaluation interval, is outside this research record, and\nthe on-device model process identity was neither measured nor claimed -\nuid=0(root) is the replication sandbox\u0027s identity and nothing broader\nrests on it.\n\nImpact. Recurring arbitrary command execution as the identity of the\nPython model process, begun by one authenticated configuration write and\ndelivered by the product\u0027s own periodic evaluation. The execution is not a\none-shot and needs no persistence work: the saved condition re-evaluates on\nevery cycle until deleted, and the payload survives reboots because it is\nstored configuration, so deleting the malicious condition is the only\nordinary remediation short of a patch. The compromise yields the router\u0027s\ncomplete configuration, control of the monitoring-as-automation features on\na device deployed as communication infrastructure, and availability at\nwill. Detection is structurally quiet - the executing process is the\nproduct\u0027s own monitoring thread - so the readable signals are\ncontent-level: a saved ping condition whose ip or interface contains a\ndollar-parenthesis, semicolon, pipe, backtick or newline; ping processes\nrunning with no count flag; unexpected child processes under the model\ndaemon. The web stack\u0027s separate property of answering unauthenticated GET\nrequests across the API surface - which lets an intruder enumerate saved\nscenarios, including a poisoned one, without a login - is a read-exposure\nissue reported on its own and is not part of this chain.\n\nRemediation: run the connectivity check without a shell, as an argument\nvector or library call, which removes the metacharacter question from the\nthread entirely and eliminates the unbounded-ping failure mode; validate\ncondition parameters at the model\u0027s write boundary where they are stored -\naddress form for ip, interface selector form for interface, bounded numeric\nfor times; reject failing conditions rather than storing them for the\nwatchdog; give the evaluation machinery a failure budget, reaping threads\nthat outlive it and logging evaluations that produce unexpected process\ntrees; and treat the recurring property as a design rule: any value a\nscheduled reaction will eventually consume must be validated at store\ntime, because the schedule converts a stored input into an automatically\nrepeated one. Operators until a patch exists: change the factory default\nadministrator credential at commissioning, keep the management listener\noff WAN-facing addresses, sweep saved scenarios for ping conditions with\nmetacharacter-bearing parameters, and disable the scenario feature where\nscheduled monitoring is not used.\n\nProof of concept. The published tool is a standard-library-only Python 3\nclient that drives the entry path: it logs in, reads the current scenario\nconfiguration, saves a ping condition whose parameter.ip carries the\nsubstitution-form payload, and reports what the condition will do on the\nnext evaluation. It takes target, credential, command and timeout\narguments; the default target is loopback; it verifies each response and\nexits non-zero with an explicit message on failure. It deliberately does\nnot attempt to compute or drive the watchdog\u0027s interval. No persistence,\nreverse shell or destructive step; the default command writes one marker\nfile. Use it only against systems you own or are authorised to test.\n\nThe vendor\u0027s product security team mailbox, published on the vendor\u0027s own\nsecurity advisories page, was used for the unconditional notification; no\nreport form was submitted and no individual was addressed by name. This\ndisclosure is unconditional: the research is published, no permission was\nasked for, no embargo was requested, nothing is withheld pending a reply,\nand remediation questions are answered at no cost. No vulnerability\nidentifier has been assigned to this finding.\n\nTwo companion advisories for the same product are published alongside this\none, independent findings that share only the entry architecture - a\ndifferent model file, REST resource, configuration field and sink each: an\nExecuter program-activation injection through the stored argument field of\na shell-interpreted program launch, and an IPsec tunnel address injection\nthrough the route-management shell commands, both at the second and third\nURLs below.\n\nFull technical analysis and the reproducible proof of concept, published\nunconditionally:\n https://0day-rubbish.com/blog/mar-2000-scenario-ping-command-injection\n\nCompanion advisories for the same product, independent findings:\n https://0day-rubbish.com/blog/mar-2000-executer-program-argument-command-injection\n https://0day-rubbish.com/blog/mar-2000-network-ipsec-command-injection\n\nProject archive (ongoing disclosure series):\n https://github.com/Exploit-Garbage/0day-Rubbish\n\n--\n0day Rubbish Research Team\ndisclosure () 0day-rubbish com\nhttps://0day-rubbish.com\n________________"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-78",
"description": "CWE-78",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-02T07:30:04Z",
"orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"shortName": "VULNARCHIVE"
},
"references": [
{
"tags": [
"technical-description",
"exploit"
],
"url": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/55"
},
{
"tags": [
"technical-description"
],
"url": "https://seclists.org/fulldisclosure/2026/Oct/55"
},
{
"url": "https://0day-rubbish.com"
},
{
"url": "https://0day-rubbish.com/blog/mar-2000-executer-program-argument-command-injection"
},
{
"url": "https://0day-rubbish.com/blog/mar-2000-network-ipsec-command-injection"
},
{
"url": "https://0day-rubbish.com/blog/mar-2000-scenario-ping-command-injection"
},
{
"url": "https://github.com/Exploit-Garbage/0day-Rubbish"
},
{
"url": "https://nmap.org/mailman/listinfo/fulldisclosure"
},
{
"url": "https://seclists.org/fulldisclosure/"
}
],
"source": {
"defect": [
"https://seclists.org/fulldisclosure/2026/Oct/55"
],
"discovery": "EXTERNAL"
},
"title": "[0day-rubbish] Moxa MAR-2000 firmware FWR_MAR2000_V1.0_Build_15010909 scenario ping condition command injection through the auto-executing ping thread (7.2)",
"x_gcve": [
{
"recordType": "advisory",
"relationships": [],
"vulnId": "GCVE-1988-2026-0504",
"x_vulnarchive": {
"archiveUrl": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/55",
"automated": true,
"contentSha256": "bd54cb1f0a8d0dd62a3289db8dbbbe1fa1b09ce63a65c32cabfb1d0b13740ba0",
"evidenceScore": 11,
"messageId": "",
"originalUrl": "https://seclists.org/fulldisclosure/2026/Oct/55",
"policy": "vulnarchive-1",
"sourceFormat": "text/html",
"sourcePublishedAt": "2026-10-27T16:39:17Z"
}
}
]
}
},
"cveMetadata": {
"assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"assignerShortName": "VULNARCHIVE",
"datePublished": "2026-11-02T07:30:04Z",
"dateUpdated": "2026-11-02T07:30:04Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1988-2026-0504"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
GCVE-1988-2026-0503
Vulnerability from gna-1988 – Published: 2026-11-02 07:30 – Updated: 2026-11-02 07:30| Vendor | Product | Version | |
|---|---|---|---|
| Moxa | MAR-2000 firmware |
Affected:
unknown
|
{
"containers": {
"cna": {
"affected": [
{
"product": "MAR-2000 firmware",
"vendor": "Moxa",
"versions": [
{
"status": "affected",
"version": "unknown"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "disclosure via Fulldisclosure"
}
],
"descriptions": [
{
"lang": "en",
"value": "0day Rubbish Research Team is publicly disclosing a vulnerability in the Moxa\nMAR-2000 series industrial 4G/LTE cellular router, firmware image\nFWR_MAR2000_V1.0_Build_15010909, from Moxa Inc. (Taiwan). An authenticated\nadministrator converts one stored VPN address field into arbitrary command\nexecution as the identity of the product\u0027s model process, because the IPsec\nmodel manages the tunnel\u0027s addresses and routes by interpolating stored,\nnever-validated configuration values into shell command lines. The payload\nis committed by one request and executes at a lifecycle moment the product\nperforms on its own. This is one of three independent command injection\nfindings documented for this product and released together as a set.\n\nType and root cause. CWE-78, OS command injection, with CWE-20 co-equal, in\nthe IPsec model at /home/model/network/ipsec/ipsec.py inside the ARM\nDebian 6.0.8 root filesystem of the firmware, which runs the vendor\u0027s MIRF\n(Mobile Intelligent Routing Framework) stack: a Node.js Express 4.0\nmanagement application on port 80 bound to all interfaces, the express-sanji\nmiddleware bridging REST resources onto a local MQTT broker, and Python 2.6\nmodel scripts that persist configuration and act on it. The model stores\ntunnelModeTable - whose keys include localVpnIp, tunnelRemoteVpnIp and\ntunnelRemoteVpnInterface - together with transModeTable, as JSON\nconfiguration written through the authenticated PUT /api/v1/network/ipsec\nresource. When the IPsec service applies the tunnel, the model calls its\nlifecycle functions, and every one of the four interpolates the stored\nfields into an ip command line and hands it to\nsubprocess.call(cmd, shell=True):\n\n```\nadd_ip: cmd = \u0027ip addr add %s dev eth%s\u0027 % (localVpnIp + \u0027/\u0027\n + \u003ccomputed subnet part\u003e, tunnelRemoteVpnInterface)\ndel_ip: \u0027ip addr del %s dev eth%s\u0027 with the same stored fields\nadd_route: cmd = \u0027ip route add to %s via %s src %s\u0027 % (ipRange,\n localVpnIp, localVpnIp)\ndel_route: cmd = \u0027ip route del %s\u0027 % ipRange\n```\n\nThe stored value sits at the front of the command line, ahead of every\nliteral token the product contributes, so a semicolon inside the value ends\nthe ip operation before any product token can interfere with the injected\nstatement. One stored localVpnIp arms several commands at once: it is the\noperand of add_ip and del_ip and both the via and src operands of\nadd_route, so whichever lifecycle function a tunnel apply reaches first\ncarries the payload. The write side applies exactly one filter,\nclean_data(), whose entire behaviour is to delete dictionary keys the model\ndoes not recognise: no value is inspected, an address format is never\nchecked, and the payload rides a key the whitelist expects, so the filter\nis not even encountered as an obstacle. An administrator who stores\n\"10.10.10.1; \u003ccommand\u003e; #\" in that field has authored\n\n```\nip addr add 10.10.10.1; \u003ccommand\u003e; #/24 dev eth0\n```\n\n- the ip segment fails harmlessly as an address operation, the injected\nstatement executes under the shell, and the hash sign comments away the\ntemplate tail. A fifth related construction sits in the same model:\nupdate_config_file() assembles IPsec configuration lines interpolating\ntransModeTable\u0027s transServerIp and transClientIp into the stored\nconfiguration file - the same unvalidated-field pattern, not exercised in\nthis research record, reported as structure rather than as a detonated\nsink.\n\nAuthentication and reach. The validateUser middleware is the only\nauthentication check on the REST surface: it requires a server-side session\nfor every non-GET method, and login is POST /api/login compared against\nbcrypt-hashed entries in the SQLite user table. The PUT that plants the\npayload requires the session; past that check there is no second\nauthorisation layer, the broker leg carries no identity, and the model\nimplements no permission judgement, so the product\u0027s single documented\nrole, the device administrator, is the whole security boundary. The\nlistener binds all interfaces on port 80 in the shipped firmware; no WAN\nexposure is assumed anywhere in the published rating.\n\nSeverity. The published score is 7.2 High,\nCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, from ISS = 0.914816, impact\n5.873119, exploitability 1.234708 and base 7.107826 rounded up to 7.2,\nPrivileges Required High being the product\u0027s single administrator role. A\nlabelled conditional and never the headline: where a deployment still runs\nthe factory default administrator pair carried by the shipped firmware\u0027s\nSQLite user table, the prerequisite collapses and the chain reads 9.8\nCritical on the PR:N vector (exploitability 3.887043, base 9.760161); a\nchanged credential removes it, and the default pair is disclosed as a\nseparate weakness, never folded into the published vector. A PR:L reading\nof 8.8 High is published only as the arithmetic of the rejected variant.\nThe score provenance is disclosed in public: the research record behind\nthis advisory carried 8.8 for all three same-product findings, that figure\nis the arithmetic of a PR:L vector, no artefact shows a lower-privileged\nproduct role, and every published number was recomputed from its own\nvector - which lowered the researchers\u0027 own figure by 1.6 points. A\nScope-Changed reading computes to 9.1 and is deliberately not published,\nbecause the model process belongs to the same single-purpose appliance\nauthority, and managing the appliance\u0027s interfaces and routes through its\nmanagement plane is the product\u0027s design rather than an escape.\n\nVerification method, and its boundary. Two evidence classes carry the\nfinding, kept separate in the published advisory. The firmware\u0027s own\napplication sources establish the configuration write, the key-only\nvalidation, and the four command constructions, read from the shipped\nfiles. The dynamic layer is a sink-level replication on an isolated cloud\nLinux sandbox: each of the four constructions, with the same template, the\nsame field position and the same shell=True hand-off, was executed with an\ninjected address value and separately with a benign control. All four\nproduced a marker file containing uid=0(root) under the payload; the\ncontrol produced no marker and no side effect of any kind. The boundary is\nstated plainly: end-to-end detonation against powered-on hardware,\nincluding the exact tunnel-apply moment at which the stored value is\nconsumed, is outside this research record, and the on-device model process\nidentity was neither measured nor claimed - uid=0(root) is the replication\nsandbox\u0027s identity and nothing broader rests on it.\n\nImpact. Arbitrary command execution as the identity of the Python model\nprocess, begun by one authenticated configuration write and delivered by a\nlifecycle step the product performs on its own, with no race and no\nprotocol manipulation anywhere in the chain. The payload is stored\nconfiguration: it persists across reboots, is read fresh at each tunnel\napplication, and the same single field reaches several sinks at once. The\nexecuting process is the device\u0027s own model daemon performing a\nroutine-sounding job, so detection signals are content-level: tunnel-table\nvalues whose address operand contains a semicolon, pipe,\ndollar-parenthesis, backtick or newline; unexplained child processes under\nthe model daemon; ip command failures whose operand text contains shell\nmetacharacters - and a legitimate address never contains any of them.\nReaching the route-management sinks also means owning the device\u0027s\nforwarding state, on a device deployed as communication infrastructure. The\nweb stack\u0027s separate property of answering unauthenticated GET requests\nacross the API surface - which lets an intruder enumerate stored tunnel\nsettings - is a read-exposure issue reported on its own and is not part of\nthis chain.\n\nRemediation: manage addresses and routes without a shell, building each ip\noperation as an argument vector launched without /bin/sh, which removes the\nmetacharacter question for all four constructions at once; validate every\naddress-shaped field at the model\u0027s write boundary so the component that\ninterpolates the value rejects non-addresses, not only a web form the\nbackend cannot assume is the only writer; turn clean_data() into a value\nvalidator at that natural choke point; treat the configuration-file\nassembly under the same rule; and add a regression test that stores a\nmetacharacter-bearing localVpnIp, drives a tunnel apply, and asserts\nrejection at write time or execution without shell interpretation.\nOperators until a patch exists: change the factory default administrator\ncredential at commissioning, keep the management listener off WAN-facing\naddresses, audit stored IPsec tunnel tables for shell metacharacters, and\ndisable IPsec where tunnels are not used so the model\u0027s lifecycle has\nnothing to apply.\n\nProof of concept. The published tool is a standard-library-only Python 3\nclient that drives the entry path: it logs in, reads the current IPsec\nconfiguration, writes the tunnel table\u0027s local VPN address field carrying\nthe payload, and reports what the stored value will do at each of the four\nconstructions and at which lifecycle occasion the model consumes it. It\ntakes target, credential, command and timeout arguments; the default target\nis loopback; it verifies each response and exits non-zero with an explicit\nmessage on failure. It does not attempt to drive the tunnel lifecycle\nitself, and no persistence, reverse shell or destructive action is\nimplemented. Use it only against systems you own or are authorised to test.\n\nThe vendor\u0027s product security team mailbox, published on the vendor\u0027s own\nsecurity advisories page, was used for the unconditional notification; no\nreport form was submitted and no individual was addressed by name. This\ndisclosure is unconditional: the research is published, no permission was\nasked for, no embargo was requested, nothing is withheld pending a reply,\nand remediation questions are answered at no cost. No vulnerability\nidentifier has been assigned to this finding.\n\nTwo companion advisories for the same product are published alongside this\none, independent findings that share only the entry architecture - a\ndifferent model file, REST resource, configuration field and sink each: an\nExecuter program-activation injection through the stored argument field of\na shell-interpreted program launch, and a scenario ping condition injection\nthrough the auto-executing ping thread, both at the second and third URLs\nbelow.\n\nFull technical analysis and the reproducible proof of concept, published\nunconditionally:\n https://0day-rubbish.com/blog/mar-2000-network-ipsec-command-injection\n\nCompanion advisories for the same product, independent findings:\n https://0day-rubbish.com/blog/mar-2000-executer-program-argument-command-injection\n https://0day-rubbish.com/blog/mar-2000-scenario-ping-command-injection\n\nProject archive (ongoing disclosure series):\n https://github.com/Exploit-Garbage/0day-Rubbish\n\n--\n0day Rubbish Research Team\ndisclosure () 0day-rubbish com\nhttps://0day-rubbish.com\n_______________________________________________\nSent through the Full Disclosure mailing list\nhttps://nmap.org/mailman/listinfo/fulldisclosure\nWeb Archives \u0026 RSS: https://seclists.org/fulldisclosure/"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-78",
"description": "CWE-78",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-02T07:30:04Z",
"orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"shortName": "VULNARCHIVE"
},
"references": [
{
"tags": [
"technical-description",
"exploit"
],
"url": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/53"
},
{
"tags": [
"technical-description"
],
"url": "https://seclists.org/fulldisclosure/2026/Oct/53"
},
{
"url": "https://0day-rubbish.com"
},
{
"url": "https://0day-rubbish.com/blog/mar-2000-executer-program-argument-command-injection"
},
{
"url": "https://0day-rubbish.com/blog/mar-2000-network-ipsec-command-injection"
},
{
"url": "https://0day-rubbish.com/blog/mar-2000-scenario-ping-command-injection"
},
{
"url": "https://github.com/Exploit-Garbage/0day-Rubbish"
},
{
"url": "https://nmap.org/mailman/listinfo/fulldisclosure"
},
{
"url": "https://seclists.org/fulldisclosure/"
}
],
"source": {
"defect": [
"https://seclists.org/fulldisclosure/2026/Oct/53"
],
"discovery": "EXTERNAL"
},
"title": "[0day-rubbish] Moxa MAR-2000 firmware FWR_MAR2000_V1.0_Build_15010909 IPsec tunnel address command injection through the route-management shell commands (7.2)",
"x_gcve": [
{
"recordType": "advisory",
"relationships": [],
"vulnId": "GCVE-1988-2026-0503",
"x_vulnarchive": {
"archiveUrl": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/53",
"automated": true,
"contentSha256": "495adc35af2466ab65f47c5822fd2ba376f90412a5f9bfa9ee356b5e7850970a",
"evidenceScore": 11,
"messageId": "",
"originalUrl": "https://seclists.org/fulldisclosure/2026/Oct/53",
"policy": "vulnarchive-1",
"sourceFormat": "text/html",
"sourcePublishedAt": "2026-10-27T16:39:01Z"
}
}
]
}
},
"cveMetadata": {
"assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"assignerShortName": "VULNARCHIVE",
"datePublished": "2026-11-02T07:30:04Z",
"dateUpdated": "2026-11-02T07:30:04Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1988-2026-0503"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
GCVE-1988-2026-0502
Vulnerability from gna-1988 – Published: 2026-11-02 07:30 – Updated: 2026-11-02 07:30| Vendor | Product | Version | |
|---|---|---|---|
| Moxa | MAR-2000 firmware |
Affected:
unknown
|
{
"containers": {
"cna": {
"affected": [
{
"product": "MAR-2000 firmware",
"vendor": "Moxa",
"versions": [
{
"status": "affected",
"version": "unknown"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "disclosure via Fulldisclosure"
}
],
"descriptions": [
{
"lang": "en",
"value": "0day Rubbish Research Team is publicly disclosing a vulnerability in the Moxa\nMAR-2000 series industrial 4G/LTE cellular router, firmware image\nFWR_MAR2000_V1.0_Build_15010909, from Moxa Inc. (Taiwan). An authenticated\nadministrator converts one stored configuration field into arbitrary command\nexecution as the identity of the product\u0027s model process, because the\nExecuter model builds the launch command of an operator program as a shell\nstring whose program-argument column is never validated by any layer of the\nbackend. This is one of three independent command injection findings\ndocumented for this product and released together as a set.\n\nType and root cause. CWE-78, OS command injection, with CWE-20 co-equal, in\nthe Executer model at /home/model/system/executer/executer.py inside the\nARM Debian 6.0.8 root filesystem of the firmware, which runs the vendor\u0027s\nMIRF (Mobile Intelligent Routing Framework) stack: a Node.js Express 4.0\nmanagement application on port 80 bound to all interfaces, the express-sanji\nmiddleware bridging REST resources onto a local MQTT broker, and Python 2.6\nmodel scripts that persist configuration and act on it. The model stores\none row per operator program in an SQLite table whose columns include\nfileName and argument. On activation it assembles the command as\nstr(execute_file) + \" \" + str(argument) and launches it with\nsubprocess.Popen(full_command, shell=True, preexec_fn=os.setsid), where the\nrow\u0027s argument bytes are concatenated verbatim and shell=True delegates the\nparsing to /bin/sh: semicolons, background operators, pipes, backticks and\ncommand substitution all have their ordinary meaning. The value\u0027s\nprovenance is a database column set by an HTTP request: the row writer is\ngeneric, taking every key of the PUT /api/v1/system/executer/program/\u003cid\u003e\nrequest\u0027s data object and committing it with a plain SQL\nUPDATE ... SET ... statement, with no per-column semantics anywhere on the\nwrite path. The only gate on execution is a liveness check - the file must\nexist under the user-program directory - and the product\u0027s own multipart\nupload route, POST /api/v1/system/executer/program, satisfies it: the upload\napplies only a filename normalisation, with no allowed-type list and no file\nfilter. The chain is therefore: log in, upload a benign script through the\nproduct\u0027s own route, store \"; \u003ccommand\u003e; #\" in the row\u0027s argument field, and\nactivate the row with PUT /api/v1/system/executer/activatedProgram carrying\nprogramId and runBit 1. The shell runs the uploaded script first, the\nsemicolon ends it, the injected statement runs, and the trailing hash\ncomments out the rest of the line. The same model contains a second,\nstructurally identical sink in its deletion path: it builds\n\"rm -rf %s\" from the row\u0027s unvalidated fileName column and executes it with\nsubprocess.call(..., shell=True), guarded only by a comparison of the raw\nvalue against a single slash, which blocks exactly one value and nothing\nelse, and requires no upload and no activation.\n\nThe two-request chain looks like this after login:\n\n```\n[1] POST /api/v1/system/executer/program multipart, benign script\n -\u003e stored under the user-program directory\n[2] PUT /api/v1/system/executer/program/\u003cid\u003e\n {\"data\": {\"fileName\": \"\u003cuploaded basename\u003e\",\n \"argument\": \"; \u003ccommand\u003e; #\"}}\n -\u003e generic row writer commits both columns verbatim (SQLite)\n[3] PUT /api/v1/system/executer/activatedProgram\n {\"data\": {\"programId\": \u003cid\u003e, \"runBit\": 1}}\n -\u003e Popen(\"\u003cdir\u003e/\u003cfile\u003e ; \u003ccommand\u003e; #\", shell=True)\n```\n\nAuthentication and reach. The validateUser middleware is the only\nauthentication check on the REST surface: it requires a server-side session\nfor every non-GET method, and login is POST /api/login compared against\nbcrypt-hashed entries in the SQLite user table. Past that check there is no\nsecond authorisation layer - the message bridge performs no permission\ntranslation and the broker leg carries no identity - so the product\u0027s single\ndocumented role, the device administrator, is the whole security boundary.\nThe listener binds all interfaces on port 80 in the shipped firmware; no\nWAN exposure is assumed anywhere in the published rating.\n\nSeverity. The published score is 7.2 High,\nCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, from ISS = 0.914816, impact\n5.873119, exploitability 1.234708 and base 7.107826 rounded up to 7.2,\nPrivileges Required High being the product\u0027s single administrator role. A\nlabelled conditional and never the headline: where a deployment still runs\nthe factory default administrator pair carried by the shipped firmware\u0027s\nSQLite user table, the prerequisite collapses and the chain reads 9.8\nCritical on the PR:N vector (exploitability 3.887043, base 9.760161); a\nchanged credential removes it, and the default pair is disclosed as a\nseparate weakness, never folded into the published vector. A PR:L reading\nof 8.8 High is published only as the arithmetic of the rejected variant. The\nscore provenance is disclosed in public: the research record behind this\nadvisory carried 8.8 for all three same-product findings, that figure is the\narithmetic of a PR:L vector, no artefact shows a lower-privileged product\nrole, and every published number was recomputed from its own vector - which\nlowered the researchers\u0027 own figure by 1.6 points. A Scope-Changed reading\ncomputes to 9.1 and is deliberately not published, because the model\nprocess belongs to the same single-purpose appliance authority, and\ncommanding the appliance\u0027s own operating system through its management\nplane is the product\u0027s design rather than an escape.\n\nVerification method, and its boundary. Two evidence classes carry the\nfinding, kept separate in the published advisory. The firmware\u0027s own\napplication sources establish the entry path, the storage semantics and the\nexact sink construction, read from the shipped files. The dynamic layer is\na sink-level replication on an isolated cloud Linux sandbox: the model\u0027s\nexact concatenation with the shell=True launch, carrying a benign upload\nstand-in, an injection payload and a benign control; with the payload in the\nargument position a marker file containing uid=0(root) was created, and the\ncontrol produced the benign program launch and nothing else. The deletion\nconstruction was replicated with the same method and also produced its\nmarker. The boundary is stated plainly: end-to-end detonation against\npowered-on hardware is outside this research record, and the identity of the\nmodel process on the device was neither measured nor claimed - uid=0(root)\nis the replication sandbox\u0027s identity and nothing broader rests on it.\n\nImpact. Arbitrary command execution as the identity of the Python model\nprocess, begun by one authenticated configuration write and one activation\nrequest, with no memory corruption and no protocol manipulation in the\nchain. The command line is a stored configuration value that persists across\nreboots and re-executes on every activation of the row, so the payload is\nreboot-durable without persistence work by the attacker. The deletion sink\nextends the class to a field reachable without any upload and allows\ndestructive filesystem operations wherever the injected metacharacters\nlead. The compromise yields the router\u0027s complete configuration, control of\nits forwarding and cellular function, and availability at will over a\ndevice deployed as communication infrastructure. The two requests that\nmatter are indistinguishable in shape from ordinary administrator activity,\nso the readable signals are content-level: program rows whose argument\ncontains shell metacharacters, unexpected files in the user-program\ndirectory, unexpected child processes under the model daemon. The web\nstack\u0027s separate property of answering unauthenticated GET requests across\nthe API surface is a read-exposure issue reported on its own and is not\npart of this chain.\n\nRemediation: execute activated programs without a shell, with the\nexecutable path and the argument as separate execv-style arguments; validate\nthe argument at the row-write boundary in the model rather than only in a\nweb form; constrain fileName to the set of stored uploads and associate rows\nto files by an opaque server-side handle; rebuild the deletion path with an\nargument vector; restrict the multipart upload to executable-basename types\nand add a regression test that writes a metacharacter-bearing argument,\nactivates the row, and asserts rejection at write time or execution without\nshell interpretation. Operators until a patch exists: change the factory\ndefault administrator credential at commissioning, keep the management\nlistener off WAN-facing addresses, audit the program table and user-program\ndirectory on a schedule, and disable the Executer feature where operator\nprograms are not used.\n\nProof of concept. The published tool is a standard-library-only Python 3\nclient that drives the full chain: it logs in, uploads a benign two-line\nshell script through the multipart route, writes the argument payload into a\nchosen row, activates the row, and reports; it verifies both the write and\nthe activation responses and exits non-zero with an explicit message at each\nfailure point. Target, credential, row id, marker command and timeouts are\narguments; the default target is loopback. No persistence, no reverse shell,\nno destructive action; the default command writes a single marker file so\nthe outcome is observable without a second channel. Use it only against\nsystems you own or are authorised to test.\n\nThe vendor\u0027s product security team mailbox, published on the vendor\u0027s own\nsecurity advisories page, was used for the unconditional notification; no\nreport form was submitted and no individual was addressed by name. This\ndisclosure is unconditional: the research is published, no permission was\nasked for, no embargo was requested, nothing is withheld pending a reply,\nand remediation questions are answered at no cost. No vulnerability\nidentifier has been assigned to this finding.\n\nTwo companion advisories for the same product are published alongside this\none, independent findings that share only the entry architecture - a\ndifferent model file, REST resource, configuration field and sink each: an\nIPsec tunnel address injection through the route-management shell commands,\nand a scenario ping condition injection through the auto-executing ping\nthread, both at the second and third URLs below.\n\nFull technical analysis and the reproducible proof of concept, published\nunconditionally:\n https://0day-rubbish.com/blog/mar-2000-executer-program-argument-command-injection\n\nCompanion advisories for the same product, independent findings:\n https://0day-rubbish.com/blog/mar-2000-network-ipsec-command-injection\n https://0day-rubbish.com/blog/mar-2000-scenario-ping-command-injection\n\nProject archive (ongoing disclosure series):\n https://github.com/Exploit-Garbage/0day-Rubbish\n\n--\n0day Rubbish Research Team\ndisclosure () 0day-rubbish com\nhttps://0day-rubbish.com\n_______________________________________________\nSent through the Full Disclosure mailing list\nhttps://nmap.org/mailman/listinfo/fulldisclosure\nWeb Archives \u0026 RSS: https://seclists.org/fulldisclosure/"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-78",
"description": "CWE-78",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-02T07:30:04Z",
"orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"shortName": "VULNARCHIVE"
},
"references": [
{
"tags": [
"technical-description",
"exploit"
],
"url": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/52"
},
{
"tags": [
"technical-description"
],
"url": "https://seclists.org/fulldisclosure/2026/Oct/52"
},
{
"url": "https://0day-rubbish.com"
},
{
"url": "https://0day-rubbish.com/blog/mar-2000-executer-program-argument-command-injection"
},
{
"url": "https://0day-rubbish.com/blog/mar-2000-network-ipsec-command-injection"
},
{
"url": "https://0day-rubbish.com/blog/mar-2000-scenario-ping-command-injection"
},
{
"url": "https://github.com/Exploit-Garbage/0day-Rubbish"
},
{
"url": "https://nmap.org/mailman/listinfo/fulldisclosure"
},
{
"url": "https://seclists.org/fulldisclosure/"
}
],
"source": {
"defect": [
"https://seclists.org/fulldisclosure/2026/Oct/52"
],
"discovery": "EXTERNAL"
},
"title": "[0day-rubbish] Moxa MAR-2000 firmware FWR_MAR2000_V1.0_Build_15010909 command injection in the Executer program activation path (7.2)",
"x_gcve": [
{
"recordType": "advisory",
"relationships": [],
"vulnId": "GCVE-1988-2026-0502",
"x_vulnarchive": {
"archiveUrl": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/52",
"automated": true,
"contentSha256": "2411179a70ba593d7df9352ac3f4c930deb26f30d8f08c87c5a00196a05d3527",
"evidenceScore": 11,
"messageId": "",
"originalUrl": "https://seclists.org/fulldisclosure/2026/Oct/52",
"policy": "vulnarchive-1",
"sourceFormat": "text/html",
"sourcePublishedAt": "2026-10-27T16:38:41Z"
}
}
]
}
},
"cveMetadata": {
"assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"assignerShortName": "VULNARCHIVE",
"datePublished": "2026-11-02T07:30:04Z",
"dateUpdated": "2026-11-02T07:30:04Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1988-2026-0502"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Mitigation
Strategy: Attack Surface Reduction
Consider using language-theoretic security (LangSec) techniques that characterize inputs using a formal language and build "recognizers" for that language. This effectively requires parsing to be a distinct layer that effectively enforces a boundary between raw input and internal data representations, instead of allowing parser code to be scattered throughout the program, where it could be subject to errors or inconsistencies that create weaknesses. [REF-1109] [REF-1110] [REF-1111]
Mitigation MIT-7
Strategy: Libraries or Frameworks
Use an input validation framework such as Struts or the OWASP ESAPI Validation API. Note that using a framework does not automatically address all input validation problems; be mindful of weaknesses that could arise from misusing the framework itself (CWE-1173).
Mitigation MIT-6
Strategy: Attack Surface Reduction
Understand all the potential areas where untrusted inputs can enter the product, including but not limited to: parameters or arguments, cookies, anything read from the network, environment variables, reverse DNS lookups, query results, request headers, URL components, e-mail, files, filenames, databases, and any external systems that provide data to the application. Remember that such inputs may be obtained indirectly through API calls.
Mitigation MIT-5
Strategy: Input Validation
- Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
- When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as "red" or "blue."
- Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.
Mitigation
- For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
- Even though client-side checks provide minimal benefits with respect to server-side security, they are still useful. First, they can support intrusion detection. If the server receives input that should have been rejected by the client, then it may be an indication of an attack. Second, client-side error-checking can provide helpful feedback to the user about the expectations for valid input. Third, there may be a reduction in server-side processing time for accidental input errors, although this is typically a small savings.
Mitigation
When your application combines data from multiple sources, perform the validation after the sources have been combined. The individual data elements may pass the validation step but violate the intended restrictions after they have been combined.
Mitigation MIT-35
Be especially careful to validate all input when invoking code that crosses language boundaries, such as from an interpreted language to native code. This could create an unexpected interaction between the language boundaries. Ensure that you are not violating any of the expectations of the language with which you are interfacing. For example, even though Java may not be susceptible to buffer overflows, providing a large argument in a call to native code might trigger an overflow.
Mitigation
Directly convert your input type into the expected data type, such as using a conversion function that translates a string into a number. After converting to the expected data type, ensure that the input's values fall within the expected range of allowable values and that multi-field consistencies are maintained.
Mitigation
- Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180, CWE-181). Make sure that your application does not inadvertently decode the same input twice (CWE-174). Such errors could be used to bypass allowlist schemes by introducing dangerous inputs after they have been checked. Use libraries such as the OWASP ESAPI Canonicalization control.
- Consider performing repeated canonicalization until your input does not change any more. This will avoid double-decoding and similar scenarios, but it might inadvertently modify inputs that are allowed to contain properly-encoded dangerous content.
Mitigation
When exchanging data between components, ensure that both components are using the same character encoding. Ensure that the proper encoding is applied at each interface. Explicitly set the encoding you are using whenever the protocol allows you to do so.
CAPEC-10: Buffer Overflow via Environment Variables
This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the adversary finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
CAPEC-101: Server Side Include (SSI) Injection
An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
CAPEC-104: Cross Zone Scripting
An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security.
CAPEC-108: Command Line Execution through SQL Injection
An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.
CAPEC-109: Object Relational Mapping Injection
An attacker leverages a weakness present in the database access layer code generated with an Object Relational Mapping (ORM) tool or a weakness in the way that a developer used a persistence framework to inject their own SQL commands to be executed against the underlying database. The attack here is similar to plain SQL injection, except that the application does not use JDBC to directly talk to the database, but instead it uses a data access layer generated by an ORM tool or framework (e.g. Hibernate). While most of the time code generated by an ORM tool contains safe access methods that are immune to SQL injection, sometimes either due to some weakness in the generated code or due to the fact that the developer failed to use the generated access methods properly, SQL injection is still possible.
CAPEC-110: SQL Injection through SOAP Parameter Tampering
An attacker modifies the parameters of the SOAP message that is sent from the service consumer to the service provider to initiate a SQL injection attack. On the service provider side, the SOAP message is parsed and parameters are not properly validated before being used to access a database in a way that does not use parameter binding, thus enabling the attacker to control the structure of the executed SQL query. This pattern describes a SQL injection attack with the delivery mechanism being a SOAP message.
CAPEC-120: Double Encoding
The adversary utilizes a repeating of the encoding process for a set of characters (that is, character encoding a character encoding of a character) to obfuscate the payload of a particular request. This may allow the adversary to bypass filters that attempt to detect illegal characters or strings, such as those that might be used in traversal or injection attacks. Filters may be able to catch illegal encoded strings, but may not catch doubly encoded strings. For example, a dot (.), often used in path traversal attacks and therefore often blocked by filters, could be URL encoded as %2E. However, many filters recognize this encoding and would still block the request. In a double encoding, the % in the above URL encoding would be encoded again as %25, resulting in %252E which some filters might not catch, but which could still be interpreted as a dot (.) by interpreters on the target.
CAPEC-13: Subverting Environment Variable Values
The adversary directly or indirectly modifies environment variables used by or controlling the target software. The adversary's goal is to cause the target software to deviate from its expected operation in a manner that benefits the adversary.
CAPEC-135: Format String Injection
An adversary includes formatting characters in a string input field on the target application. Most applications assume that users will provide static text and may respond unpredictably to the presence of formatting character. For example, in certain functions of the C programming languages such as printf, the formatting character %s will print the contents of a memory location expecting this location to identify a string and the formatting character %n prints the number of DWORD written in the memory. An adversary can use this to read or write to memory locations or files, or simply to manipulate the value of the resulting text in unexpected ways. Reading or writing memory may result in program crashes and writing memory could result in the execution of arbitrary code if the adversary can write to the program stack.
CAPEC-136: LDAP Injection
An attacker manipulates or crafts an LDAP query for the purpose of undermining the security of the target. Some applications use user input to create LDAP queries that are processed by an LDAP server. For example, a user might provide their username during authentication and the username might be inserted in an LDAP query during the authentication process. An attacker could use this input to inject additional commands into an LDAP query that could disclose sensitive information. For example, entering a * in the aforementioned query might return information about all users on the system. This attack is very similar to an SQL injection attack in that it manipulates a query to gather additional information or coerce a particular return value.
CAPEC-14: Client-side Injection-induced Buffer Overflow
This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service. This hostile service is created to deliver the correct content to the client software. For example, if the client-side application is a browser, the service will host a webpage that the browser loads.
CAPEC-153: Input Data Manipulation
An attacker exploits a weakness in input validation by controlling the format, structure, and composition of data to an input-processing interface. By supplying input of a non-standard or unexpected form an attacker can adversely impact the security of the target.
CAPEC-182: Flash Injection
An attacker tricks a victim to execute malicious flash content that executes commands or makes flash calls specified by the attacker. One example of this attack is cross-site flashing, an attacker controlled parameter to a reference call loads from content specified by the attacker.
CAPEC-209: XSS Using MIME Type Mismatch
An adversary creates a file with scripting content but where the specified MIME type of the file is such that scripting is not expected. The adversary tricks the victim into accessing a URL that responds with the script file. Some browsers will detect that the specified MIME type of the file does not match the actual type of its content and will automatically switch to using an interpreter for the real content type. If the browser does not invoke script filters before doing this, the adversary's script may run on the target unsanitized, possibly revealing the victim's cookies or executing arbitrary script in their browser.
CAPEC-22: Exploiting Trust in Client
An attack of this type exploits vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by communicating directly with the server where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
CAPEC-23: File Content Injection
An adversary poisons files with a malicious payload (targeting the file systems accessible by the target software), which may be passed through by standard channels such as via email, and standard web content like PDF and multimedia files. The adversary exploits known vulnerabilities or handling routines in the target processes, in order to exploit the host's trust in executing remote content, including binary files.
CAPEC-230: Serialized Data with Nested Payloads
Applications often need to transform data in and out of a data format (e.g., XML and YAML) by using a parser. It may be possible for an adversary to inject data that may have an adverse effect on the parser when it is being processed. Many data format languages allow the definition of macro-like structures that can be used to simplify the creation of complex structures. By nesting these structures, causing the data to be repeatedly substituted, an adversary can cause the parser to consume more resources while processing, causing excessive memory consumption and CPU utilization.
CAPEC-231: Oversized Serialized Data Payloads
An adversary injects oversized serialized data payloads into a parser during data processing to produce adverse effects upon the parser such as exhausting system resources and arbitrary code execution.
CAPEC-24: Filter Failure through Buffer Overflow
In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
CAPEC-250: XML Injection
An attacker utilizes crafted XML user-controllable input to probe, attack, and inject data into the XML database, using techniques similar to SQL injection. The user-controllable input can allow for unauthorized viewing of data, bypassing authentication or the front-end application for direct XML database access, and possibly altering database information.
CAPEC-261: Fuzzing for garnering other adjacent user/sensitive data
An adversary who is authorized to send queries to a target sends variants of expected queries in the hope that these modified queries might return information (directly or indirectly through error logs) beyond what the expected set of queries should provide.
CAPEC-267: Leverage Alternate Encoding
An adversary leverages the possibility to encode potentially harmful input or content used by applications such that the applications are ineffective at validating this encoding standard.
CAPEC-28: Fuzzing
In this attack pattern, the adversary leverages fuzzing to try to identify weaknesses in the system. Fuzzing is a software security and functionality testing method that feeds randomly constructed input to the system and looks for an indication that a failure in response to that input has occurred. Fuzzing treats the system as a black box and is totally free from any preconceptions or assumptions about the system. Fuzzing can help an attacker discover certain assumptions made about user input in the system. Fuzzing gives an attacker a quick way of potentially uncovering some of these assumptions despite not necessarily knowing anything about the internals of the system. These assumptions can then be turned against the system by specially crafting user input that may allow an attacker to achieve their goals.
CAPEC-3: Using Leading 'Ghost' Character Sequences to Bypass Input Filters
Some APIs will strip certain leading characters from a string of parameters. An adversary can intentionally introduce leading "ghost" characters (extra characters that don't affect the validity of the request at the API layer) that enable the input to pass the filters and therefore process the adversary's input. This occurs when the targeted API will accept input data in several syntactic forms and interpret it in the equivalent semantic way, while the filter does not take into account the full spectrum of the syntactic forms acceptable to the targeted API.
CAPEC-31: Accessing/Intercepting/Modifying HTTP Cookies
This attack relies on the use of HTTP Cookies to store credentials, state information and other critical data on client systems. There are several different forms of this attack. The first form of this attack involves accessing HTTP Cookies to mine for potentially sensitive data contained therein. The second form involves intercepting this data as it is transmitted from client to server. This intercepted information is then used by the adversary to impersonate the remote user/session. The third form is when the cookie's content is modified by the adversary before it is sent back to the server. Here the adversary seeks to convince the target server to operate on this falsified information.
CAPEC-42: MIME Conversion
An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
CAPEC-43: Exploiting Multiple Input Interpretation Layers
An attacker supplies the target software with input data that contains sequences of special characters designed to bypass input validation logic. This exploit relies on the target making multiples passes over the input data and processing a "layer" of special characters with each pass. In this manner, the attacker can disguise input that would otherwise be rejected as invalid by concealing it with layers of special/escape characters that are stripped off by subsequent processing steps. The goal is to first discover cases where the input validation layer executes before one or more parsing layers. That is, user input may go through the following logic in an application: <parser1> --> <input validator> --> <parser2>. In such cases, the attacker will need to provide input that will pass through the input validator, but after passing through parser2, will be converted into something that the input validator was supposed to stop.
CAPEC-45: Buffer Overflow via Symbolic Links
This type of attack leverages the use of symbolic links to cause buffer overflows. An adversary can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
CAPEC-46: Overflow Variables and Tags
This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The adversary crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
CAPEC-47: Buffer Overflow via Parameter Expansion
In this attack, the target software is given input that the adversary knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
CAPEC-473: Signature Spoof
An attacker generates a message or datablock that causes the recipient to believe that the message or datablock was generated and cryptographically signed by an authoritative or reputable source, misleading a victim or victim operating system into performing malicious actions.
CAPEC-52: Embedding NULL Bytes
An adversary embeds one or more null bytes in input to the target software. This attack relies on the usage of a null-valued byte as a string terminator in many environments. The goal is for certain components of the target software to stop processing the input when it encounters the null byte(s).
CAPEC-53: Postfix, Null Terminate, and Backslash
If a string is passed through a filter of some kind, then a terminal NULL may not be valid. Using alternate representation of NULL allows an adversary to embed the NULL mid-string while postfixing the proper data so that the filter is avoided. One example is a filter that looks for a trailing slash character. If a string insertion is possible, but the slash must exist, an alternate encoding of NULL in mid-string may be used.
CAPEC-588: DOM-Based XSS
This type of attack is a form of Cross-Site Scripting (XSS) where a malicious script is inserted into the client-side HTML being parsed by a web browser. Content served by a vulnerable web application includes script code used to manipulate the Document Object Model (DOM). This script code either does not properly validate input, or does not perform proper output encoding, thus creating an opportunity for an adversary to inject a malicious script launch a XSS attack. A key distinction between other XSS attacks and DOM-based attacks is that in other XSS attacks, the malicious script runs when the vulnerable web page is initially loaded, while a DOM-based attack executes sometime after the page loads. Another distinction of DOM-based attacks is that in some cases, the malicious script is never sent to the vulnerable web server at all. An attack like this is guaranteed to bypass any server-side filtering attempts to protect users.
CAPEC-63: Cross-Site Scripting (XSS)
An adversary embeds malicious scripts in content that will be served to web browsers. The goal of the attack is for the target software, the client-side browser, to execute the script with the users' privilege level. An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute code and scripts. Web browsers, for example, have some simple security controls in place, but if a remote attacker is allowed to execute scripts (through injecting them in to user-generated content like bulletin boards) then these controls may be bypassed. Further, these attacks are very difficult for an end user to detect.
CAPEC-64: Using Slashes and URL Encoding Combined to Bypass Validation Logic
This attack targets the encoding of the URL combined with the encoding of the slash characters. An attacker can take advantage of the multiple ways of encoding a URL and abuse the interpretation of the URL. A URL may contain special character that need special syntax handling in order to be interpreted. Special characters are represented using a percentage character followed by two digits representing the octet code of the original character (%HEX-CODE). For instance US-ASCII space character would be represented with %20. This is often referred as escaped ending or percent-encoding. Since the server decodes the URL from the requests, it may restrict the access to some URL paths by validating and filtering out the URL requests it received. An attacker will try to craft an URL with a sequence of special characters which once interpreted by the server will be equivalent to a forbidden URL. It can be difficult to protect against this attack since the URL can contain other format of encoding such as UTF-8 encoding, Unicode-encoding, etc.
CAPEC-664: Server Side Request Forgery
An adversary exploits improper input validation by submitting maliciously crafted input to a target application running on a server, with the goal of forcing the server to make a request either to itself, to web services running in the server’s internal network, or to external third parties. If successful, the adversary’s request will be made with the server’s privilege level, bypassing its authentication controls. This ultimately allows the adversary to access sensitive data, execute commands on the server’s network, and make external requests with the stolen identity of the server. Server Side Request Forgery attacks differ from Cross Site Request Forgery attacks in that they target the server itself, whereas CSRF attacks exploit an insecure user authentication mechanism to perform unauthorized actions on the user's behalf.
CAPEC-67: String Format Overflow in syslog()
This attack targets applications and software that uses the syslog() function insecurely. If an application does not explicitely use a format string parameter in a call to syslog(), user input can be placed in the format string parameter leading to a format string injection attack. Adversaries can then inject malicious format string commands into the function call leading to a buffer overflow. There are many reported software vulnerabilities with the root cause being a misuse of the syslog() function.
CAPEC-7: Blind SQL Injection
Blind SQL Injection results from an insufficient mitigation for SQL Injection. Although suppressing database error messages are considered best practice, the suppression alone is not sufficient to prevent SQL Injection. Blind SQL Injection is a form of SQL Injection that overcomes the lack of error messages. Without the error messages that facilitate SQL Injection, the adversary constructs input strings that probe the target through simple Boolean SQL expressions. The adversary can determine if the syntax and structure of the injection was successful based on whether the query was executed or not. Applied iteratively, the adversary determines how and where the target is vulnerable to SQL Injection.
CAPEC-71: Using Unicode Encoding to Bypass Validation Logic
An attacker may provide a Unicode string to a system component that is not Unicode aware and use that to circumvent the filter or cause the classifying mechanism to fail to properly understanding the request. That may allow the attacker to slip malicious data past the content filter and/or possibly cause the application to route the request incorrectly.
CAPEC-72: URL Encoding
This attack targets the encoding of the URL. An adversary can take advantage of the multiple way of encoding an URL and abuse the interpretation of the URL.
CAPEC-73: User-Controlled Filename
An attack of this type involves an adversary inserting malicious characters (such as a XSS redirection) into a filename, directly or indirectly that is then used by the target software to generate HTML text or other potentially executable content. Many websites rely on user-generated content and dynamically build resources like files, filenames, and URL links directly from user supplied data. In this attack pattern, the attacker uploads code that can execute in the client browser and/or redirect the client browser to a site that the attacker owns. All XSS attack payload variants can be used to pass and exploit these vulnerabilities.
CAPEC-78: Using Escaped Slashes in Alternate Encoding
This attack targets the use of the backslash in alternate encoding. An adversary can provide a backslash as a leading character and causes a parser to believe that the next character is special. This is called an escape. By using that trick, the adversary tries to exploit alternate ways to encode the same character which leads to filter problems and opens avenues to attack.
CAPEC-79: Using Slashes in Alternate Encoding
This attack targets the encoding of the Slash characters. An adversary would try to exploit common filtering problems related to the use of the slashes characters to gain access to resources on the target host. Directory-driven systems, such as file systems and databases, typically use the slash character to indicate traversal between directories or other container components. For murky historical reasons, PCs (and, as a result, Microsoft OSs) choose to use a backslash, whereas the UNIX world typically makes use of the forward slash. The schizophrenic result is that many MS-based systems are required to understand both forms of the slash. This gives the adversary many opportunities to discover and abuse a number of common filtering problems. The goal of this pattern is to discover server software that only applies filters to one version, but not the other.
CAPEC-8: Buffer Overflow in an API Call
This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An adversary who has knowledge of known vulnerable libraries or shared code can easily target software that makes use of these libraries. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
CAPEC-80: Using UTF-8 Encoding to Bypass Validation Logic
This attack is a specific variation on leveraging alternate encodings to bypass validation logic. This attack leverages the possibility to encode potentially harmful input in UTF-8 and submit it to applications not expecting or effective at validating this encoding standard making input filtering difficult. UTF-8 (8-bit UCS/Unicode Transformation Format) is a variable-length character encoding for Unicode. Legal UTF-8 characters are one to four bytes long. However, early version of the UTF-8 specification got some entries wrong (in some cases it permitted overlong characters). UTF-8 encoders are supposed to use the "shortest possible" encoding, but naive decoders may accept encodings that are longer than necessary. According to the RFC 3629, a particularly subtle form of this attack can be carried out against a parser which performs security-critical validity checks against the UTF-8 encoded form of its input, but interprets certain illegal octet sequences as characters.
CAPEC-81: Web Server Logs Tampering
Web Logs Tampering attacks involve an attacker injecting, deleting or otherwise tampering with the contents of web logs typically for the purposes of masking other malicious behavior. Additionally, writing malicious data to log files may target jobs, filters, reports, and other agents that process the logs in an asynchronous attack pattern. This pattern of attack is similar to "Log Injection-Tampering-Forging" except that in this case, the attack is targeting the logs of the web server and not the application.
CAPEC-83: XPath Injection
An attacker can craft special user-controllable input consisting of XPath expressions to inject the XML database and bypass authentication or glean information that they normally would not be able to. XPath Injection enables an attacker to talk directly to the XML database, thus bypassing the application completely. XPath Injection results from the failure of an application to properly sanitize input used as part of dynamic XPath expressions used to query an XML database.
CAPEC-85: AJAX Footprinting
This attack utilizes the frequent client-server roundtrips in Ajax conversation to scan a system. While Ajax does not open up new vulnerabilities per se, it does optimize them from an attacker point of view. A common first step for an attacker is to footprint the target environment to understand what attacks will work. Since footprinting relies on enumeration, the conversational pattern of rapid, multiple requests and responses that are typical in Ajax applications enable an attacker to look for many vulnerabilities, well-known ports, network locations and so on. The knowledge gained through Ajax fingerprinting can be used to support other attacks, such as XSS.
CAPEC-88: OS Command Injection
In this type of an attack, an adversary injects operating system commands into existing application functions. An application that uses untrusted input to build command strings is vulnerable. An adversary can leverage OS command injection in an application to elevate privileges, execute arbitrary commands and compromise the underlying operating system.
CAPEC-9: Buffer Overflow in Local Command-Line Utilities
This attack targets command-line utilities available in a number of shells. An adversary can leverage a vulnerability found in a command-line utility to escalate privilege to root.