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.
GCVE-1988-2026-0500
Vulnerability from gna-1988 – Published: 2026-11-02 07:30 – Updated: 2026-11-02 07:30| Vendor | Product | Version | |
|---|---|---|---|
| Trendnet | TV-IP302PI firmware |
Affected:
unknown
|
{
"containers": {
"cna": {
"affected": [
{
"product": "TV-IP302PI firmware",
"vendor": "Trendnet",
"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 TRENDnet\nTV-IP302PI firmware 1.02.38, the closed-source IP surveillance camera from\nTRENDnet (United States). The camera\u0027s application daemon is shipped at\n/hunt/hunt_server: an ARM 32-bit EABI5 version 5TE soft-float binary,\ndynamically linked against /lib/ld-linux.so.3, 4.5 MB and stripped. Its own\nstring pool carries hunt_camera, HuntAudioConverter, HuntDataDirect and\nPPPoE_TV-IP302PI next to the TRENDnet brand identifier, which identifies the\nimage as built on a Hunt Electronic camera platform OEM\u0027d into this model. That\nprovenance matters twice: it tells an operator that the same construction may\nexist in other products built on the same platform, and it tells a reader that\nthis finding is specific to that platform\u0027s binary, its configuration-key name\nand its command template rather than to a generic NTP client.\n\nType and root cause. OS command injection, CWE-78 primary, with CWE-20 improper\ninput validation, and CWE-250 and CWE-269 contributing for the privilege shape.\nAn authenticated administrator who sets the NTP server address has the value\nstored verbatim into the configuration parameter c64_Ntp_Server, at offset 0x9c\ninside the configuration structure. The only validation applied on the way in is\na length cap: 48 bytes (0x30, via func_0x002a9ae0) on the HTTP form path and 64\nbytes on the ONVIF SOAP path. No character is rejected. That same offset is later\nread back by the time-synchronisation path, formatted with %s, unquoted and\nunescaped, into the command template\n\n /hunt/msntp -ts %d -r %s \u0026\n\nand handed to system(), which runs the string through /bin/sh -c. The shell\nre-parses it, so a semicolon, a $(...) command substitution or a backtick pair\ninside what is supposed to be a time-server address terminates the NTP client\ninvocation and starts an arbitrary command in the daemon\u0027s own context. That\ncontext is uid=0(root): the web tier performs no privilege drop, the boa\nconfiguration file shipped in the image declares none, and the runtime\nconfiguration model recovered from the binary contains no unprivileged identity\nfor the web tier to switch to. There is therefore no privilege-escalation stage\nin this chain and none is claimed or needed.\n\nThe chain, link by link, with the offsets from the shipped binary.\n\nLink 1 is a configuration write. The parameter table maps the HTTP form field to\nthe key c64_Ntp_Server, whose set callback at 0x2b668c compares the incoming\nvalue against the stored one, returns early if they match, and otherwise copies\nit into the slot. The decompiled shape is a bare strcpy. On a change the callback\nraises a configuration event, event 2, through func_0x001ecddc. That event is how\nthe rest of the daemon learns that time synchronisation needs re-doing, and it is\nalso why the write itself is the trigger: in the ordinary case no second request\nand no wait for a scheduled resynchronisation is required.\n\nLink 2 is command construction. The event handler at 0x371d88, registered inside\nfcn.002b700c, and the builder at 0x2760d0, called from the call site at 0x286264,\nboth read the same offset config+0x9c that link 1 wrote, and format it:\n\n snprintf(buf, 0x100,\n *p_fmt_at_0x3ded60, /* \"/hunt/msntp -ts %d -r %s \u0026\" */\n *(cfg + 0xe4), /* the -ts flag: server-derived */\n cfg + 0x9c); /* the address: attacker-supplied */\n func_0x001efbac(handle, 10, buf); /* enqueue for the worker */\n\nThere is no quoting of any kind around the %s. The -ts flag comes from cfg+0xe4\nand is not attacker-controlled; the address argument is, completely. That the\nwrite offset and the read offset are the same value is the load-bearing detail of\nthe static half of this work, because it is what ties the tainted input to the\ntainted argument without anyone having to guess at a structure layout.\n\nLink 3 is execution. The enqueue helper func_0x001efbac hands the finished string\nto a queue worker that calls system(buf). The identification of system() as the\nfinal executor is STATIC evidence and is reported as such: system is referenced\nthrough the GOT entry at 0xc274, and that GOT slot is what distinguishes a\nsystem() call site from an execve call site with a prepared argv. No dynamic\nobservation in this research watched the worker choose between the two forms.\nUnder an argv-form invocation the address would have reached msntp as one\nargument element and every shell metacharacter inside it would have been inert\ntext passed to a resolver, which is exactly why that distinction is the whole\nvulnerability rather than an implementation detail.\n\nTwo protocols write one slot, so this is one vulnerability with two sources rather\nthan two vulnerabilities. On the HTTP path the value arrives as POST parameter\nNtpIP to apply.cgi or SetTime.cgi inside an authenticated session. On the ONVIF\npath the same slot is written by the tds:SetNTP handler at 0x286218-0x286264,\nwhich applies its own 64-byte length check, no content check, and then calls\nfcn.002760d0 directly, so on that route the sink sits one call from the entry\npoint instead of being reached through the event dispatch. A fix applied only to\nthe HTTP form leaves the ONVIF entry point open, and the ONVIF path\u0027s larger cap\nis the more comfortable carrier for a longer payload.\n\nWhat validation is present and what is absent. Present: a length cap and nothing\nelse. Absent: any parse of the value as an address, no inet_aton or inet_pton, no\nhostname-syntax check followed by re-serialisation of the resolved name; no\ncharacter allow-list, although for a time-server field the correct alphabet is\nroughly [A-Za-z0-9._:-], which excludes every metacharacter in this chain; no\ndeny-list for the semicolon, pipe, ampersand, dollar sign, backtick, parentheses,\nangle brackets, newline, carriage return or quote characters, so nothing rejects\neven the crudest payload; no quoting or escaping at the interpolation site; and no\nargv-form invocation of /hunt/msntp, which alone would have removed the shell from\nthe picture and made all four preceding items unnecessary. The shape of the defect\nin one line: the value is checked for how long it is and never for what it is. A\nlength cap of that kind exists to protect a fixed-size configuration slot from\noverrunning, and on that job it appears to work. Forty-eight bytes admits every\ninjection form used in this research several times over, the shortest of which is\n17 bytes.\n\nOne sanitization-shaped behaviour that is not one is worth knowing before\nreproducing this: the set callback\u0027s strcmp early-return suppresses the change\nevent when the new value is byte-identical to the stored one, so posting the same\npayload twice does not re-fire the sink. Vary the payload between attempts, for\nexample by changing the marker filename, which costs one byte and changes nothing\nabout the finding.\n\nAuthentication, and what is credited. This is not an unauthenticated\nvulnerability and no unauthenticated variant of it is claimed. Every .cgi request\npasses a fail-closed HTTP Digest gate, with Basic also accepted: the challenge\ngenerator at 0x26be70 emits WWW-Authenticate: Digest, the connection handler at\n0x26ed54 calls it at entry, credentials are evaluated through fcn.00268afc, an\nabsent or wrong credential yields 401 and the handler does not fall through to the\nrequest\u0027s business logic, and the .cgi dispatch runs its authentication check\nthrough func_0026c248. The unauthenticated allow-list recovered from the binary is\na static-content extension list covering html, htm, jpg, css, js, png, gif, txt,\nasp, avi, bmp, cab, exe, mov, swf and xpi, plus one snapshot path, CamImg*.jpg. No\nmember of it is a configuration write and none reaches this sink. Two .cgi routes\nare genuinely unauthenticated, GetVer.cgi returning a version XML document and\nGetLanguage.cgi returning a language pack; both were examined for execution sinks\nand neither calls system() or popen(), so they are useful for fingerprinting only.\nThe unauthenticated surface was swept for a path into the sink and the sweep came\nout negative, which is what makes the authentication statement here a finding\nrather than an assumption. The product\u0027s gate is present, centralised and\nfail-closed, and it is credited as such: this finding is explicitly not CWE-306\nand not CWE-862. The camera gets the gate right and the argument construction\nwrong.\n\nThe principal required is an administrator, and the evidence carries two different\nweights that should not be conflated. The credential requirement is structural and\nfail-closed, read out of the gate\u0027s own control flow. The role requirement\nspecifically is read out of the privilege model recovered from the image, which\ndefines five levels, i_UserPrivilege01 through i_UserPrivilege05, and places NTP\nconfiguration behind the administrator role; it was not differentially tested,\nbecause no account below administrator was available to test with and no\ncomparison was ever run between a low-privilege write and an administrative one.\nThe honest status of the PR:H rating is therefore \"supported by the recovered\nprivilege model\" and nothing stronger, which is why the PR:L reading is published\nbelow as a labelled conditional rather than being papered over.\n\nVerification boundary, stated in full and up front, because it defines what is and\nis not being claimed. No physical camera was used at any point. No TV-IP302PI\nhardware was driven, no firmware image was booted onto hardware, no hunt_server\nprocess was started, no HTTP request was issued to the daemon during any phase of\nthis work, and no request came from a second host. Nothing here is a live-device\nexploit and the research does not present itself as one.\n\nWhat the dynamic half actually was: a replica of the vulnerable call run inside\nthe product\u0027s own extracted root filesystem. The vendor firmware image is an\nunencrypted ZIP container with five streams and the root filesystem in the third;\nthat tree of 251 files was extracted, and on an isolated cloud sandbox the\nresearchers chrooted into it and ran the camera\u0027s own busybox shell under\nqemu-arm-static user-mode ARM emulation, invoking the interpreter explicitly in\nthe form qemu-arm-static /lib/ld-linux.so.3 --library-path /lib /bin/busybox sh -c\n\"\u003ccommand string\u003e\", with binfmt_misc registered for ARM ELF so that a shell inside\nthe chroot could fork and exec the external ARM binaries in the same tree, and\nwith /dev and /proc bind-mounted. What was executed under that harness was the\nexact command string the product\u0027s own builder produces from the product\u0027s own\ntemplate, with attacker-chosen bytes in the address slot, run by the product\u0027s own\nshell in the product\u0027s own root filesystem. Four runs were made, three injection\nforms and one control:\n\n /hunt/msntp -ts 1 -r 1.1.1.1;/bin/busybox id \u003e \u003cmarker\u003e;# \u0026\n marker content uid=0(root) gid=0(root) groups=0(root)\n marker owner root:root\n /hunt/msntp -ts 1 -r $(/bin/busybox id \u003e \u003cmarker\u003e) \u0026\n marker content uid=0(root) gid=0(root) groups=0(root)\n marker owner root:root\n /hunt/msntp -ts 1 -r `/bin/busybox id \u003e \u003cmarker\u003e` \u0026\n marker content uid=0(root) gid=0(root) groups=0(root)\n marker owner root:root\n /hunt/msntp -ts 1 -r 1.1.1.1 \u0026\n marker absent - no file created\n\nThree metacharacter vectors each produced a root-owned marker; the benign control\naddress 1.1.1.1, containing no metacharacter, produced none. Marker filenames are\nrendered here in shortened form because the recorded names carried an internal\nstage prefix that means nothing to a reader; the ownership, content and presence\nof each marker are reported exactly as recorded. The control is not decoration.\nThe command template already invokes an external binary, /hunt/msntp, so a chroot\nharness is a place where a marker could in principle have been created by\nsomething other than the injection: a leftover file, the harness\u0027s own tooling, o"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-250",
"description": "CWE-250",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-269",
"description": "CWE-269",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-306",
"description": "CWE-306",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-78",
"description": "CWE-78",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-798",
"description": "CWE-798",
"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/34"
},
{
"tags": [
"technical-description"
],
"url": "https://seclists.org/fulldisclosure/2026/Oct/34"
},
{
"url": "https://0day-rubbish.com"
},
{
"url": "https://0day-rubbish.com/blog/trendnet-tv-ip302pi-ntp-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/34"
],
"discovery": "EXTERNAL"
},
"title": "[0day-rubbish] TRENDnet TV-IP302PI firmware 1.02.38 authenticated NTP server-address OS command injection to root command execution via a shell-form system() call (7.2 High, PR:H)",
"x_gcve": [
{
"recordType": "advisory",
"relationships": [],
"vulnId": "GCVE-1988-2026-0500",
"x_vulnarchive": {
"archiveUrl": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/34",
"automated": true,
"contentSha256": "f1ababbd86e55a4e07369d2612db9124e247f99a29e625c6c23008e29a7d1f24",
"evidenceScore": 11,
"messageId": "",
"originalUrl": "https://seclists.org/fulldisclosure/2026/Oct/34",
"policy": "vulnarchive-1",
"sourceFormat": "text/html",
"sourcePublishedAt": "2026-10-20T02:31:46Z"
}
}
]
}
},
"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-0500"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
GCVE-1988-2026-0489
Vulnerability from gna-1988 – Published: 2026-11-02 07:30 – Updated: 2026-11-02 07:30| Vendor | Product | Version | |
|---|---|---|---|
| unknown | PacsOne Server |
Affected:
unknown
|
- possibly related CVE-2018-25124
{
"containers": {
"cna": {
"affected": [
{
"product": "PacsOne Server",
"vendor": "unknown",
"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 PacsOne\nServer 7.3.9, Premium Edition, Linux x86-64 distribution, the closed-source\ncommercial PACS (medical imaging archive and DICOM server) from RainbowFish\nSoftware, California, United States. The product combines a native C++ DICOM\nand HL7 service with a PHP web interface of 204 endpoints running on MySQL\nand Apache, fronted by a single Apache alias that maps /pacsone to the\nproduct\u0027s php/ directory.\n\nType: path traversal on a file-write sink (CWE-22 primary; CWE-73 External\nControl of File Name or Path and CWE-20 Improper Input Validation\ncontributing). The DICOMweb STOW-RS handler stowrs.php reads the SOP Instance\nUID attribute (0008,0018) out of the posted DICOM object and uses it as the\nstorage filename. In import() in dicomweb.php, approximately lines\n1391-1440, the construction is:\n\n $uid = $rawTags-\u003egetAttr(0x00080018);\n $dir = dirname($tempfile);\n $newfile = $dir . \"/\" . $uid;\n rename($tempfile, $newfile);\n\n$dir is the per-day study directory under the configured archive root, from\ngetStowRsStoreDir() in database.php:1780; $tempfile is staged in that same\ndirectory by DicomWebStow::__construct (dicomweb.php:1165), which reads the raw\nbody from php://input, splits it on the declared boundary and writes each\napplication/dicom part through tempnam() and file_put_contents(); and $uid is\nthe raw attribute value as it appeared on the wire: RawTags::getAttr()\n(dicom.php:4516) returns it unfiltered, and the Explicit VR parser\nparseDataExplicit() (dicom.php:4378) applies trim() only, which is VR padding\nnormalisation and not a security control. The presence checks in store()\n(dicomweb.php:1592) verify only that\nthe SOP Class, SOP Instance, Study and Series Instance UIDs are non-empty,\nwhich any non-empty string satisfies. There is no character whitelist, no\ncanonicalisation, no length bound and no containment check on this path, so a\nSOP Instance UID of ../../../php/x.php moves the received object out of the\nstudy directory and into the directory Apache serves through the /pacsone\nalias. The 128-byte DICOM Part 10 preamble is never interpreted by the DICOM\nparser, so it can carry a PHP marker script, and once the file is in the\nserved tree mod_php executes it under the web server identity.\n\nThe identity reached is uid=33(www-data) gid=33(www-data)\ngroups=33(www-data) - the Apache worker serving the request, confirmed by id,\nwhoami, a read of /etc/passwd, a marker write-and-read under /tmp, hostname\nand uname. There is no child process and no identity change in this chain.\nRoot was not reached and is not claimed; no privilege escalation, no\ncontainer or host escape, and no contact with any other machine was\nattempted.\n\nThe ordering inside import() decides both whether the write is usable and\nwhether a reproduction appears to work. rename() executes BEFORE the database\ninserts, so no database-layer control - schema constraint, length limit,\nuniqueness check - sits upstream of the damage, and the operation is not\ntransactional: the file lands even when the corresponding study record never\ndoes. Each of the image, series, study and patient inserts is followed on\nfailure by unlink($newfile), so a minimal DICOM object writes the payload and\nthen deletes it, returning HTTP 409 with failure reason 272 (ProcessingFailure).\nMaking all four inserts succeed requires Patient Name (0010,0010), Patient ID\n(0010,0020) and the pixel attributes (0028,xxxx). Anyone attempting a\nreproduction without those attributes will watch the file disappear and may\nconclude this is a false positive. It is not.\n\nThe root cause is an asymmetry rather than a general absence of input\nvalidation. The product contains a UID validator, isUidValid(), and does call\nit on the unauthenticated wadoAnonymized.php read path, where its character\nwhitelist blocks \"/\" and therefore blocks traversal. The store path that turns\na UID into a filename never calls it. Two details narrow where a fix has to\ngo: the server uses the dataset value and not the file meta header value, so\na validator bolted onto the meta header parse alone would miss this (the\nverified object carried an ordinary dotted UID in (0002,0003) and the\ntraversal in (0008,0018)); and the parser is structurally lenient - it\naccepted a (0028,xxxx) group emitted in non-ascending order - so leniency\ncannot be relied on to reject malformed identifiers either.\n\nHow confirmation works. The STOW-RS JSON response echoes the identifier back,\nso the outcome is machine-readable without any filesystem access: the nested\nsequence carries (0008,1155) with the traversal string verbatim plus a\nper-instance Retrieve URL in which it appears percent-encoded, a success\narrives as HTTP 200 and a failure as HTTP 409 with failure reason 272. That\nmakes the one deployment-variable quantity - how many ../ components separate\nthe study directory from a served directory - cheap to enumerate with clear\nfeedback and one request per guess, which is why Attack Complexity is rated\nLow. Three components on the layout we configured; Setup.exe lets the\noperator choose the archive directory, so another installation needs a\ndifferent count. The target directory has to satisfy only two conditions: the\nweb server user can write into it, and something served by the web server\nexecutes files there. Relocating the archive outside the web tree is therefore\nhardening rather than a fix. We did not reconcile this build\u0027s use of\n(0008,1199) for the successful-store sequence against the DICOM PS3.18\nSTOW-RS response definition, and nothing in the finding depends on that tag\nnumbering. Execution is then confirmed by an unauthenticated GET for the\nwritten file: the gate protects the store operation, not the file the store\noperation created. The response body begins with the command\u0027s stdout and is\nfollowed by the binary remainder of the DICOM object rendered as literal\noutput, which is itself evidence that the whole object, preamble included, was\nwritten intact. The file on disk was 580 bytes - the size of the object sent -\nowned by the web server identity at mode 0600. That mode is what tempnam()\ncreates and rename() preserved; it does not obstruct execution, because the\nwriter, the owner and the interpreter are the same uid.\n\nWhat was deliberately not reproduced: the rename()/unlink() pairing on the\nfailure branch, which is argued from POSIX rename() atomic-replace semantics\nand from the shipped code rather than exercised. Because unlink($newfile)\noperates on the same attacker-chosen path, a deliberately failing store can\nreplace and then remove an existing file that the web server user can write.\nThe primitive is then not only \"write an attacker-chosen file\" but also\n\"replace and then delete a file whose name the attacker chooses, inside any\ndirectory the web server user can write\". No procedure for it is published and\nthe PoC refuses to target any path that already resolves. No denial-of-service\ntest was performed either.\n\nScoring. The published score is 7.2 High, CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.\nPR:H is load-bearing: only an administrator-role account was demonstrated to\nreach the DICOMweb STOW-RS route. hasaccess() in database.php:315 evaluates\nisAdministrator() first, which returns true unconditionally for the\nadministrator group, and for everyone else selects the stowrs column of the\nprivilege table; the privilege table on the tested installation held exactly\none row, that administrator, with stowrs=1. No lower-privileged role was\ndemonstrated or documented to hold stowrs. The vector\u0027s arithmetic: ISS\n0.914816, Impact(S:U) 5.873119, Exploitability 1.234708, unrounded base\n7.107826, taken to 7.2 by the CVSS ceiling-to-tenth Roundup - which is why a\ncalculator reporting 7.1 is disagreeing with the rounding rule, not with the\nscore. For the record, no numeric CVSS value accompanied the verification\nevidence gathered for this finding (that evidence recorded its type,\nauthentication requirement and achieved identity), so 7.2 is derived here from\nthe vector rather than copied from a recorded figure, and there is no\nrecorded-versus-computed discrepancy to correct.\n\nOne conditional reading is published alongside it and is never the headline.\nIn a deployment that grants the stowrs permission to a non-administrator\naccount - the realistic shapes being an acquisition device such as a modality\nor scanner workstation, a partner PACS federated to the archive, or an imaging\napplication service account, all of which is what a DICOMweb store interface\nexists to serve - the least privileged principal reaching the sink is a\nlow-privileged user and the honest rating for that deployment is 8.8 High,\nCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, Exploitability 2.835255 and\nunrounded base 8.708373. We did not demonstrate that any non-administrator\naccount can be granted stowrs through the product and found no code path that\ngrants it to one, so this reading is conditional on a deployment state we did\nnot prove. An operator can establish which reading applies to them with one\nquery against the privilege table.\n\nTwo readings were considered and rejected, published with their arithmetic for\ntransparency. S:C would compute to 9.1 (Impact(S:C) 6.128026, Exploitability\n2.286496, unrounded 9.087684) and is rejected: the PHP interpreter that\nexecutes the payload is part of the same product serving the vulnerable\nendpoint, on the same host, under the same service identity, and our traversal\ntarget was inside the product\u0027s own served directory, so no second component\nwith an independent authorization boundary was crossed and no cross-account or\ncross-machine outcome was demonstrated. A third argument for S:C is tempting\nand still wrong in CVSS terms - that the victim of the confidentiality impact\nis the patient whose imaging is stored, who is certainly not the principal\nthat authenticated - because scope concerns which component\u0027s authorization\nboundary is crossed, not who suffers the consequence. The clinical weight of\nthat data is carried by the impact metrics, all three High. AC:H would compute\nto 6.6 (unrounded 6.578666) and is rejected because the traversal depth is\ndiscoverable with observable feedback at a cost of one request per guess. We\npublish no PR:N vector: no unauthenticated path to this sink exists. The\nbypass-file branch in the STOW-RS code path, which accepts fixed wado\ncredentials when a referenced file is present, is dead code on a default\ninstallation because that file does not exist; we did not create it, we attach\nno rating to a state the product does not ship, and we recommend the branch be\ndeleted.\n\nAuthentication: post-authentication, and the gate was tested by behaviour\nrather than trusted from configuration. The performed negative control is a\npersistence differential: two requests to the same endpoint with the same\naccount and the same object layout, differing only in whether Patient Name and\nPatient ID were present. The incomplete object produced HTTP 409 and left\nnothing in the served directory, having been removed by the failure branch\u0027s\nunlink(); the complete object produced HTTP 200 and left a 580-byte file at\nexactly the location the UID named. That establishes both that the file\u0027s\npresence is a consequence of the store path completing and that its location\nis the UID, since nothing else in the request specified a directory; it also\nexcludes mishandling of the temporary file, which tempnam() creates inside the\nstudy directory and which would never appear in the served PHP tree on its\nown. A third control comes from a sibling endpoint and was observed: UID-shaped\nattacker input on the unauthenticated wadoAnonymized.php path passes through\nisUidValid(), whose whitelist contains no \"/\", so the same input class validated\ndoes not traverse and unvalidated does.\n\nA fourth control is shipped but was not executed, and we say so plainly. The\npublished PoC carries a conforming-UID control mode that send"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-22",
"description": "CWE-22",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-73",
"description": "CWE-73",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-02T07:30:02Z",
"orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"shortName": "VULNARCHIVE"
},
"references": [
{
"tags": [
"technical-description",
"exploit"
],
"url": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/18"
},
{
"tags": [
"technical-description"
],
"url": "https://seclists.org/fulldisclosure/2026/Oct/18"
},
{
"url": "https://0day-rubbish.com"
},
{
"url": "https://0day-rubbish.com/blog/rainbowfish-pacsone-stowrs-sop-instance-uid-traversal-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/18"
],
"discovery": "EXTERNAL"
},
"title": "[0day-rubbish] PacsOne Server 7.3.9 authenticated DICOMweb STOW-RS SOP Instance UID path traversal to www-data code execution on a PACS host (7.2)",
"x_gcve": [
{
"recordType": "analysis",
"relationships": [
{
"destId": "CVE-2018-25124",
"type": "possibly_related"
}
],
"vulnId": "GCVE-1988-2026-0489",
"x_vulnarchive": {
"archiveUrl": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/18",
"automated": true,
"contentSha256": "7995b0839525b668ec4af50e8bce07a1e6503eae6d9016b9ed9fa9d6cf822398",
"evidenceScore": 11,
"messageId": "",
"originalUrl": "https://seclists.org/fulldisclosure/2026/Oct/18",
"policy": "vulnarchive-1",
"sourceFormat": "text/html",
"sourcePublishedAt": "2026-10-13T02:22:16Z"
}
},
{
"recordType": "advisory",
"vulnId": "GCVE-1988-2026-0489"
}
]
}
},
"cveMetadata": {
"assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"assignerShortName": "VULNARCHIVE",
"datePublished": "2026-11-02T07:30:02Z",
"dateUpdated": "2026-11-02T07:30:02Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1988-2026-0489"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
GCVE-1988-2026-0487
Vulnerability from gna-1988 – Published: 2026-11-02 07:30 – Updated: 2026-11-02 07:30{
"containers": {
"cna": {
"affected": [
{
"product": "Guardian",
"vendor": "Maian",
"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 Maian\nGuardian 2.1, the self-hosted licensing system for PHP applications encoded\nwith SourceGuardian, distributed as a closed-source commercial PHP script by\nMaian Script World (United Kingdom) and verified end to end against a real\ninstallation of that version.\n\nType: OS command injection (CWE-78 primary; CWE-116, CWE-20 and CWE-561\ncontributing; CWE-250 and CWE-732 as environmental amplifiers of the same\nevent). The license-generation routine builds an operating-system command line\nby string interpolation and passes it to shell_exec() at\n`control/classes/class.licensing.php:261` inside `guardianLicense::create()`, in\norder to invoke the external SourceGuardian generator binary. Several of the\ninterpolated fields arrive unvalidated from the body of the administrator AJAX\noperation `POST /admin/index.php?ajax-ops=generate` - projid, projkey, the\nlicense property key and value pairs, and the encoder string - and are placed\ninside double quotes rather than argument-quoted, so POSIX command substitution\nstill applies:\n\n shell_exec(mswSGLicGenPath(\u0027\"\u0027, $this-\u003esettings) . \" $string $output\");\n $lock[] = \u0027--projid \"\u0027 . $this-\u003eprojid . \u0027\"\u0027; // line 112\n $lock[] = \u0027--projkey \"\u0027 . $this-\u003eprojkey . \u0027\"\u0027; // line 113\n\nThe rendered command line is therefore\n`\"\u003clicpath\u003e\" --projid \"\u003cPROJID\u003e\" --projkey \"\u003cPROJKEY\u003e\" --const \"\u003cKEY\u003e=\u003cVALUE\u003e\"\n... \u003coutput\u003e`, where PROJID is whatever an authenticated administrator posted.\nPHP hands that text to `/bin/sh -c`, and inside a double-quoted word the shell\ndoes not treat `$(`, a backtick or a backslash as literal. A projid of `$(id)`\nspawns `id` in a subshell and substitutes its output into the argument, and it\ndoes so during expansion, before the command word is resolved - which is why a\ndeployment with a missing or misconfigured generator binary is still fully\nexploitable.\n\nThe decisive detail is the sanitizer arrangement, and it is the whole root\ncause. Three sanitizer-shaped helpers ship with the product; two of them return\ntheir input unchanged and sit in series on the path to the shell, and the one\nthat correctly wraps escapeshellarg has no call site anywhere in the product:\n\n private function escape($data) { return $data; } // lines 68-70\n private function escapeArg($data) { return escapeshellarg($data); }\n // lines 72-74\n\n`escape()` is the function actually called on the way to the shell, and it does\nnothing. `mswCD()` at lines 152-154 is a second `return $data;`, applied to the\nproperty key and value immediately before `escape()`, so two no-ops are stacked\nin a row on the properties path. `escapeArg()` wraps exactly the right primitive\nand is dead code: a sweep of all 308 PHP files in the shipped tree found no call\nsite for it, which reads as a completed remediation that never landed. A fourth\nhelper, `escapeCmd()` around `escapeshellcmd()`, is real and is invoked, but only\nfrom `head()`, `time_servers()` and `add_lic_info()` - never from `lock()` or\n`properties()` - so it guards the fields with the least attacker control and\nnever sees the two that carry project identifiers. Upstream of the class the\nonly request-wide filter is `mswMDAM(\u0027trim\u0027, $_POST)` at\n`control/functions.php:342`, which applies trim() and nothing else; there is no\ncharacter allow-list, no length cap and no metacharacter rejection anywhere\nbetween the POST body and the shell_exec() argument.\n\nCommands execute as the web server service account, observed as\n`uid=33(www-data) gid=33(www-data) groups=33(www-data)`. No setuid transition,\nwrapper, privilege drop or sandbox sits between the web worker and the child\nprocess. Root was not reached, was not attempted, and is not claimed.\n\nHow confirmation works, and what was deliberately not reproduced. The generate\noperation does not echo command output into its HTTP response: it answered HTTP\n200 with its ordinary `{\"status\":\"rdr\"}` body, the response shape it produces\nwhen the generator creates no valid license file. Proof of execution is\ntherefore out-of-band by construction. The injected command writes a marker file\nand the same installation serves it back over HTTP; one authenticated request\nexecuted six distinct commands into that single file, including a pipeline,\n`cat /etc/passwd | head -3`, which is what separates arbitrary command execution\nfrom one hard-coded effect. An earlier iteration of the same chain wrote its\nmarker outside the document root and was confirmed there first, so write\ncapability is stated as observed both inside and outside the web tree. The\npublished advisory reproduces the identity string but elides the container\nhostname and the kernel build-timestamp field of the `uname -a` line, since both\nare artefacts of one execution on one host rather than evidence about the\nproduct.\n\nScoring. One score is published: 7.2 High,\nCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. That vector computes from first\nprinciples to ISS = 1 - (0.44 x 0.44 x 0.44) = 0.914816, Impact(S:U) =\n6.42 x 0.914816 = 5.87311872, Exploitability = 8.22 x 0.85 x 0.77 x 0.27 x 0.85\n= 1.234707705, base 7.107826425, taken to 7.2 by the CVSS ceiling-to-tenth\nRoundup - a calculator reporting 7.1 is disagreeing with the rounding rule and\nwith nothing else. AV:N describes the product\u0027s exposure and not our lab\u0027s: the\nchain is three HTTP requests plus one read-back against the product\u0027s single\nlistener, and the loopback binding in our testbed was our own safety choice, not\na product property. AC:L because nothing outside the attacker\u0027s or a normal\ndeployment\u0027s control is needed - ENC_DEBUG is at its shipped value 0\n(`control/options.php:37`), which selects the shell_exec() branch, and the\nlicense-generator path is a setting a functioning installation already has.\n\nPR:H is the metric carrying the weight, and the readings on either side of it\nare printed with their own vectors so the arithmetic is inspectable. Published\nreason: only an installer-provisioned administrator session was demonstrated\nreaching the sink. The product does keep a `guard_staff` table, so a multi-user\ndeployment is possible, but our review found no role or permission column that\nseparates license generation from any other administrator operation and no\ndocumented staff role with a narrower capability set; every path we traced to\n`guardianLicense::create()` sat behind the administrator gate with the same\noperation-level CSRF check. Three alternative readings are therefore labelled and\nrejected rather than hidden:\n\n - Unauthenticated, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H = 9.8. Rejected: no\n unauthenticated path reaches a sink. The remote license-issuing API at\n `control/api/api-remote.php` is gated by a key randomly generated at\n install time, which was not bypassed, and the product ships no factory\n credential because the installer sets the administrator account.\n - Lower-privileged operator, AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 8.8.\n Rejected: no role-separated principal was demonstrated reaching the\n generate operation, and the guard_staff role model was not established.\n Publishing this would rest on an unstudied possibility rather than on a\n demonstrated principal.\n - Scope Changed, AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H = 9.1. Rejected: the\n injected command runs as the same identity, on the same host, inside the\n same authority the product was granted at install time. No second\n authorization boundary was crossed and no cross-machine or cross-account\n outcome was demonstrated, so S:C would rate an outcome the evidence does\n not contain.\n\nTwo things are deliberately priced at zero in this vector. The remote API key\ncomparison `md5($apiKey) == md5($SETTINGS-\u003eapikey)` is reported as a separate\nhardening weakness - CWE-328 with a CWE-208 aspect, since hashing both sides with\nan unsalted MD5 adds nothing over comparing the raw key and `==` on two digests\nis not a constant-time comparison - and it is folded into nothing. It was not\ndemonstrated to be exploitable, the strength of that gate rests on the entropy\nof the install-time random key, and no leak path for it was found. Likewise the\nsix additional tainted fields on the same sink and the second entry point widen\nthe patch surface a vendor must cover without changing how hard the demonstrated\ninjection is to perform, so they contribute nothing to the score. No correction\nnotice accompanies this figure: our own notes carry no numeric CVSS value for\nthis finding, so 7.2 is derived from the vector above and nothing else.\n\nAuthentication: post-authentication administrator, and the gate held. Every\nadministrator page and every administrator AJAX operation passes through one\ninit-level gate at `admin/control/init.php:122`, which is a hard include-time\ngate rather than a per-request filter that can be forgotten on one route, and the\ngenerate case carries a second operation-level check that the submitted `cs_rf`\nbody field or `csrf` header matches the session-bound `csrf_token`. Eight\ncandidate bypasses were examined and all eight recorded as blocked: forging the\n`guardian_access` session value (it embeds the per-install random SECRET_KEY),\nomitting or replaying the CSRF token (session-bound, validated per operation,\nrotated per page render), injecting the internal `$loginBypass` variable (no\nexternal input reaches it), SQL injection in the login path (the staff lookup is\nparameterised and the constant path compares salted SHA-1 digests), a timing\nattack on that comparison (equal-length hex digests, no exploitable divergence\nidentified), a default-credential fallback (the installer forces the operator to\nset it), hard-coded LG_USER or LG_PASS (written at install time from operator\ninput, not compiled in), and guessing the remote API key (randomly generated at\ninstall). The unauthenticated surface was enumerated interface by interface and\nparameter by parameter: roughly sixty-two interfaces were inventoried by three\nindependent methods that agreed, roughly nine answer without credentials (four\nstatic asset trees, the buyer portal front page and its license-lookup\noperation, the remote API endpoint refusing a keyless request, the\npost-installation installer route, and the login operation itself), and zero of\nthose nine reach a command-execution, deserialization or file-write sink.\nEvery parameter of every unauthenticated interface was tested for traversal,\ninjection, type confusion, over-long input and encoding bypass. Unauthenticated\nremote code execution was not reached and none is claimed.\n\nOne honesty point about the negative control, because the published exploit\ncarries a control mode that was never recorded. The script ships a --control\nmode that repeats the identical authenticated sequence - same login, same fresh\nCSRF token, same generate operation, same field set including a non-empty\nlicpath and a key/value pair - with a benign project identifier and project key,\npoints its read-back at a marker name it never injects, and asserts that the\nmarker URL does not answer. A passing control would rule out that the proof file\npre-existed, that the generate operation writes arbitrary attacker-named files\ninto the document root as a normal side effect, and that the read-back URL is\nserved by something other than the written file. What there is not, and what\nthis post does not pretend otherwise, is an archived control transcript: the\nrecorded verification output is the injection leg, the control leg is shipped so\nthat any reader can execute it against their own instance, and inventing a\ntranscript would be worse than saying so. The structural half of the control\ndoes come from source: the only thing on this path that creates a file inside\nthe document root is the shell command assembled at `class.licensing.php:261`,\nand no branch of the generate operation writes to the content tree on its own.\n\nImpact: arbitrary OS "
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-116",
"description": "CWE-116",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-20",
"description": "CWE-20",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-208",
"description": "CWE-208",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-250",
"description": "CWE-250",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-328",
"description": "CWE-328",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-561",
"description": "CWE-561",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-732",
"description": "CWE-732",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-78",
"description": "CWE-78",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-02T07:30:02Z",
"orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"shortName": "VULNARCHIVE"
},
"references": [
{
"tags": [
"technical-description",
"exploit"
],
"url": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/16"
},
{
"tags": [
"technical-description"
],
"url": "https://seclists.org/fulldisclosure/2026/Oct/16"
},
{
"url": "https://0day-rubbish.com"
},
{
"url": "https://0day-rubbish.com/blog/maian-guardian-license-generator-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/16"
],
"discovery": "EXTERNAL"
},
"title": "[0day-rubbish] Maian Guardian 2.1 license generator projid command injection to www-data uid 33 code execution (7.2, PR:H)",
"x_gcve": [
{
"recordType": "advisory",
"relationships": [],
"vulnId": "GCVE-1988-2026-0487",
"x_vulnarchive": {
"archiveUrl": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/16",
"automated": true,
"contentSha256": "c6f42931cdf5a35451312d596be78de698bb1c4dd482ac4faf3c5de81c35119f",
"evidenceScore": 11,
"messageId": "",
"originalUrl": "https://seclists.org/fulldisclosure/2026/Oct/16",
"policy": "vulnarchive-1",
"sourceFormat": "text/html",
"sourcePublishedAt": "2026-10-13T02:21:47Z"
}
}
]
}
},
"cveMetadata": {
"assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"assignerShortName": "VULNARCHIVE",
"datePublished": "2026-11-02T07:30:02Z",
"dateUpdated": "2026-11-02T07:30:02Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1988-2026-0487"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
GCVE-1988-2026-0485
Vulnerability from gna-1988 – Published: 2026-11-02 07:30 – Updated: 2026-11-02 07:30| Vendor | Product | Version | |
|---|---|---|---|
| Mgt Commerce | Cloudpanel |
Affected:
unknown
|
{
"containers": {
"cna": {
"affected": [
{
"product": "Cloudpanel",
"vendor": "Mgt Commerce",
"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 CloudPanel\nCommunity Edition 2.5.4-3+clp-bookworm, the closed-source server-management panel\nfrom cloudpanel.io (Germany) that provisions and supervises nginx, php-fpm,\nMariaDB and hosted web sites from a Symfony application listening on port 8443.\nThe build under advisory is the vendor\u0027s own distribution package, 69,183,476\nbytes, md5 24c36a4739ce065c5c188c89def06f29, on Debian bookworm x86_64. Only\nthis build was tested; no other version, edition or deployment target is\nclaimed, in either direction.\n\nType: injection of control characters into a configuration file that a second\nparser then reads as syntax, CWE-93 primary, with CWE-20, CWE-74 and CWE-269 /\nCWE-250 contributing. This is not command injection and we do not classify it as\nCWE-78: the writer that puts the text on disk is\n`echo %s | /usr/bin/sudo /usr/bin/tee %s` with both substitutions passed through\n`escapeshellarg`, so the newlines travel inside a single-quoted shell argument as\ndata and no shell metacharacter reaches a command line. The sink is the virtual-host\nrenderer. `RootDirectory.php` owns the `{{root}}` placeholder and composes it at\nlabel `b9892` as\n`rtrim(sprintf(\"root /home/%s/htdocs/%s;\", $siteUser, $rootDirectory), \"/\")`.\nThat `rtrim` is dead code, because the format string always ends with a semicolon\nand so its result can never end with a slash. Between the value entering the\nmethod and being composed into a directive there is no call of any kind - no\n`basename`, no `realpath`, no `preg_match`, no allowlist, no blacklist, no length\ncheck, no character check. The database value is the concatenated value. The\nattacker therefore does not control the `root` directive\u0027s value but its tail,\nwhich is sufficient: a leading semicolon terminates the already-started directive\ncleanly and the injected blocks that follow land at server context ahead of the\ntemplate\u0027s own `location` blocks, where the `^~` prefix match outranks regex\nlocations. `{{root}}` appears twice in the hosting template, so the payload is\ninserted twice, once per server block, which is consistent with the observed\nfile growth.\n\nThe double standard is the useful part for anyone auditing a similar form. The\nsame form family validates the domain name with a dedicated constraint whose\npattern excludes `/` and `\\`; the command-line channel clamps the identical\nroot-directory value with `ltrim(rtrim($x,\"/\"),\"/\")`; and a neighbouring\nfree-text field on the same page has a four-step pre-submit normalization that\nrewrites double quotes to single ones. The web-channel `rootDirectory` value\npasses through none of these. Its only declared constraint is a not-null check,\nand its entity setter performs no sanitization.\n\nWhat turns a configuration write into host-root execution is vendor packaging,\nnot attacker choice. The vendor\u0027s own `nginx-common 1.30.4-1+clp-bookworm` ships\nan `/etc/nginx/nginx.conf` whose line 1 is literally `user root;` and whose line\n119 is `include /etc/nginx/sites-enabled/*.conf;` (md5\n6727bffeb96cb3e03b85d00eac39c47c, 3,077 bytes, taken from the package payload\nrather than transcribed from a note). The same package ships\n`/home/clp/services/php-fpm/fpm/pool.d/file-manager.conf` declaring\n`user = root` and `group = clp` on `/run/clp-fm-php-fpm.sock`, with no\n`php_admin_value`, no `open_basedir`, no `disable_functions` and no\n`security.limit_extensions` anywhere in its seventeen lines. So an injected\nblock carrying `dav_methods PUT; create_full_put_path on; alias /tmp/;` yields an\nanonymous WebDAV write primitive, and a second injected block carrying\n`root /tmp; include /etc/nginx/fastcgi_params; fastcgi_pass unix:/run/clp-fm-php-fpm.sock;`\nhands anonymous PHP execution to a pool that runs as root.\n\nThe identity reached is host `uid=0(root) gid=1000(clp) groups=1000(clp),0(root)`,\ncorroborated in the same response body by `posix_getuid()` and `posix_geteuid()`\nreturning 0, by `whoami` returning `root`, by the uploaded file landing as\n`-rw------- 1 root root`, and by a filesystem-type read showing the marker landed\non durable overlay storage rather than tmpfs. The exact shape of that identity\nstring matters and it is not decoration: `id` run from outside the container\nprints `gid=0(root) groups=0(root)`, and a pool declaring only `user = root`\nwould print the same, so the `gid=1000(clp) groups=1000(clp),0(root)` that came\nback over HTTP can only have been produced by the product\u0027s own execution path\nthrough a pool declaring `user = root; group = clp;`. Labelled honestly, that is\na morphological inference from verbatim strings in two independent rounds plus a\npackaged pool file whose bytes are on record; the reviewing pass did not itself\nstart a File Manager pool to observe the shape directly.\n\nConfirmation and what was deliberately not reproduced. The save answers 302 with\nno error text, and the product cannot report failure at all, because its reload\nsuccess check returns true unconditionally and the reload is backgrounded. So the\nproof channel is the two anonymous requests plus the marker body, and four\nrequirements were defined in advance and checked in every round: a live `id`\ncontaining `uid=0(root)` with no uid hardcoded in the uploaded script; device\nself-attestation values in the body that are absent from our own payload and our\nown script, with a positive control proving the search works and with two\nwitnesses downgraded honestly (the boot identifier is shared across containers on\none host kernel and the application secret is a factory constant, so the genuinely\ndevice-unique witness is the container hostname, differing between the two sets\nand independently embedded by `uname`); a fresh nonce per round appearing\nsimultaneously in the uploaded filename, in a comment line inside the written\nvirtual host and in the marker body, paired with the post-reload digest of that\nspecific file and a per-nonce `nginx -T` hit count that goes 0 to 1 for the\ncurrent round and back to 0 for the previous one; and evidence being response-body\ncontent and size, never a status code, since 201 and 200 both occurred in failed\nrounds too.\n\nDeliberately not reproduced, and not claimed: cross-tenant impact, because no\nsecond tenant was present; whether an illegal payload is rolled back under\nvendor-native wiring, since both native sets used legal payloads and the\nno-rollback behaviour was measured only under harness wiring; where injected text\nlands in the PHP-site template, because that template is not in the package at all\nand is imported at install time by a `git clone` of an external repository into a\ndatabase column; the second injection point of the same shape feeding the\n`{{settings}}` placeholder, which static analysis says has the same exposure but\nfor which no dynamic round was run and no control was constructed; and whether a\nlocal console invocation of the same sink, which the sudoers drop-in grants to any\nlocal user, can inject this field. One measured anomaly carries no established\nmechanism either: when the injected block omits the fastcgi parameter include the\nexecution leg returns a silent zero-byte body, the phenomenon was observed twice,\nand two proposed mechanisms were both contradicted by the logs.\n\nScoring. One score is published: 8.8 High,\nCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, derived from first principles - ISS\n0.914816, Unchanged impact 5.873119, exploitability 2.835255, base 8.708374,\nceiling-to-tenth Roundup 8.8. No correction to any recorded score is needed. No\nconditional or higher reading is published: we identified no deployment state that\nmakes this chain unauthenticated, and publishing a hypothetical PR:N figure\nconditioned on an unproven bypass would be inventing severity.\n\nPrivileges Required is the metric worth arguing hardest, so both directions are\ngiven. It is PR:L and not PR:N, because no anonymous path reaches this sink: the\ncatch-all access-control rule requires full authentication, twelve URI-mismatch\nvariants against one protected route produced zero admissions, the anonymous\nidentity-swap primitive described below yields an identity with zero additional\ncapability confined to a route space that does not exist, and there is no factory\ncredential to use since the product ships with zero users. It is not PR:H, because\nROLE_ADMIN was never required - the settings page is not under `^/admin`, the\nhandler declares `ROLE_USER` exactly once, and the injection was performed with\n`ROLE_USER` sessions and observed to take effect. Had only an administrator been\ndemonstrated, the correct metric would be High and the same impact weights would\nproduce 7.2, so getting this one metric wrong moves the score by 1.6 points.\n\nScope: Unchanged, and this is the reading a triage process will question first,\nbecause the outcome is host uid=0 on a multi-tenant hosting panel. The temptation\nto publish Changed is genuine and we state it accurately rather than dismissing\nit: the vulnerable component is the panel application authorised to a tenant role,\nwhile the achieved impact lands on the host operating system and, in a\nmulti-tenant deployment, on every other tenant\u0027s site - components outside the\npanel\u0027s own authorisation boundary, impacted in their own right, by an action\nauthorised as \"a tenant edits a setting on their own site\". That is the textbook\nargument for Changed and it is not strained. We publish Unchanged for three\nreasons in increasing order of weight. First, the privilege ceiling is produced\nentirely by the vendor\u0027s own shipped configuration - `user root;` in the vendor\nnginx build, `user = root` in the vendor File Manager pool, and\n`clp ALL=(ALL) NOPASSWD: ALL` in the vendor sudoers drop-in - so every step of\nthe escalation is performed by a component the product itself installed,\nconfigured and invoked, and the product is the authority at each step. No second\nproduct\u0027s exposed interface is being reached through the first product\u0027s flaw;\nwhat is reached is the host, through identities the product established. Second,\nthe cross-tenant consequence is a capability inference and not a measurement: we\ndid not run the verification on a host with a second tenant installed and we\nmeasured no impact on another tenant, and publishing Scope Changed on an untested\ncross-tenant claim is precisely the class of overreach that produces public\ncorrections. Third, the conservative value already communicates the finding - 8.8\nHigh reads as remote authenticated host-root code execution to every triage\nprocess that consumes it, so nothing decision-relevant is lost by declining the\nupgrade. The Changed-scope form of the same facts,\nCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, is recorded in the analysis as a\nrejected reading: it is not published as a headline and no number is attached to\nit. If a triage process or an identifier-assigning authority prefers the Changed\nreading on the grounds that a tenant-scope authorisation boundary is crossed to\naffect the host and other tenants, the argument above is the complete case for it\nand the only missing evidence is a two-tenant measurement.\n\nAuthentication: post-authentication, lowest panel role. Sessions are ordinary\nSymfony sessions issued by a login POST carrying `userName`, `password` and\n`_csrf_token`. The site-settings page is not under `^/admin`, so it falls to the\ncatch-all rule requiring full authentication; the singular `role:` key in that\nrule is valid rather than a silent typo, because the framework\u0027s configuration\nnormalization folds it into the plural form, and the dynamic proof that the\ncatch-all is live is that an anonymous request for a deliberately nonexistent\npath returns 302 to the login page rather than 404, meaning the access-control\ncheck fires before route resolution. Fourteen sampled protected paths all\nredirected, and twelve URI-mismatch variants - trailing slash, doubled slash,\nencoded slash, matrix-semicolon path parameter, dot segments, percent-encoded\nletters, a null byte, upper-"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-250",
"description": "CWE-250",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-269",
"description": "CWE-269",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-74",
"description": "CWE-74",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-78",
"description": "CWE-78",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-93",
"description": "CWE-93",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-02T07:30:02Z",
"orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"shortName": "VULNARCHIVE"
},
"references": [
{
"tags": [
"technical-description",
"exploit"
],
"url": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/14"
},
{
"tags": [
"technical-description"
],
"url": "https://seclists.org/fulldisclosure/2026/Oct/14"
},
{
"url": "https://0day-rubbish.com"
},
{
"url": "https://0day-rubbish.com/blog/cloudpanel-site-rootdirectory-nginx-vhost-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/14"
],
"discovery": "EXTERNAL"
},
"title": "[0day-rubbish] CloudPanel 2.5.4-3 site-settings rootDirectory nginx virtual-host injection to host root code execution (8.8)",
"x_gcve": [
{
"recordType": "advisory",
"relationships": [],
"vulnId": "GCVE-1988-2026-0485",
"x_vulnarchive": {
"archiveUrl": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/14",
"automated": true,
"contentSha256": "859614f1c0e095c70dea093ffd08d31799c64c0190543ef9abe06ba7faae9472",
"evidenceScore": 11,
"messageId": "",
"originalUrl": "https://seclists.org/fulldisclosure/2026/Oct/14",
"policy": "vulnarchive-1",
"sourceFormat": "text/html",
"sourcePublishedAt": "2026-10-13T02:21:18Z"
}
}
]
}
},
"cveMetadata": {
"assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"assignerShortName": "VULNARCHIVE",
"datePublished": "2026-11-02T07:30:02Z",
"dateUpdated": "2026-11-02T07:30:02Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1988-2026-0485"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
GCVE-1988-2026-0470
Vulnerability from gna-1988 – Published: 2026-11-02 07:30 – Updated: 2026-11-02 07:30{
"containers": {
"cna": {
"affected": [
{
"product": "WebADM",
"vendor": "Rcdevs",
"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 RCDevs WebADM\n2.4.14, Freeware Edition, the closed-source IAM/MFA management platform from RCDevs\nSecurity SA (Luxembourg) that fronts the vendor\u0027s OpenOTP, SpanKey and TiQR\nauthentication products.\n\nType: OS command injection (CWE-78, with CWE-20 and CWE-116 contributing, and\nCWE-732/CWE-276 and CWE-250 added for two auxiliary conditions). The administrator\nconsole log viewer admin/logfile_viewer.php interpolates the sid GET parameter,\npercent-decoded once and with no escaping of any kind, into the single-quoted shell\ncommand grep -E \u0027\u003csid\u003e\u0027 \u003clogfile\u003e | tail -n 10000 which the page hands to PHP\u0027s\npopen(). A single apostrophe closes the quoted grep pattern, everything after it is\nparsed by /bin/sh as command text, and the trailing quote pair re-opens an empty\nquoted string that swallows the remainder of the pipeline. There is no escapeshellarg,\nno escapeshellcmd, no quote stripping, no charset allow-list and no length cap on the\nrecorded path; the absence of a filter, not the bypass of one, is the root cause.\nCommands execute as the webadm service account, uid=999(webadm) gid=999(webadm)\ngroups=999(webadm), the identity the webadm-httpd workers run under with no privilege\ndrop configured. Root was not achieved, is not claimed, and no privilege escalation\nwas attempted.\n\nThe endpoint does not echo command output into its HTTP response, so confirmation is\nout-of-band: the injected command appends a line to /opt/webadm/logs/webadm.log and\nthe same endpoint reads that file back over HTTPS when asked for a different log\nselector. This also means the finding is self-verifying rather than interpretive.\nThe published advisory reproduces the identity string but deliberately not the\nper-run marker token or the container hostname from the run, since both are artefacts\nof one execution on one host.\n\nScoring. One score is published: 7.2 High, CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.\nThat vector computes to 7.107826 raw and is taken to 7.2 by the CVSS ceiling-to-tenth\nRoundup, which is why a calculator reporting 7.1 is not in disagreement with anything\nbut with the specification\u0027s rounding rule. Our research record carried a higher base\nscore beside this same PR:H vector, and that pairing cannot compute; the higher figure\nis the base score of the PR:L variant, which asserts that an authenticated principal\nbelow administrator reaches the sink. This research did not support that assertion:\nthe session is issued by an LDAP bind as the administrator DN, the no-cookie negative\ncontrol never reached popen(), and no lower-privileged console role was documented.\nThe advisory therefore publishes 7.2 alone and leaves PR:L as an open question about\nthe product\u0027s role model, to be amended if an auditor- or help-desk-class role can\nopen this viewer in a shipped or supported configuration. Scope Changed was\nconsidered and rejected: under S:C the same vector would compute to 9.1, but the\ninjected command runs as the same identity, on the same host, with the same backend\naccess the vulnerable application already holds, so no authorization boundary is\ncrossed. No unauthenticated reading is published. License registration was required\nto bring the console up, the record documents no vendor-shipped default administrator\ncredential, and this research did not establish whether one exists, so no PR:N figure\nis claimed on evidence the record does not carry.\n\nAuthentication: post-authentication console administrator. Eleven endpoints reachable\nwithout a console session were examined in full, plus two independent adversarial\npasses tasked specifically with breaking the \"a session is required\" conclusion. That\nsweep found no shell sink and no file-write sink reachable from unauthenticated input;\nevery include hit was a static framework bootstrap; the certificate signing daemon on\nport 5000 carries no shell strings; and the mail() transport keeps recipients off the\ncommand line, removing the notification path as an injection route. The advisory\npublishes that disposition table so the negative result is auditable. Unauthenticated\nremote code execution was not reached and none is claimed.\n\nImpact: arbitrary OS command execution as the webadm application account on the host\nthat runs an identity platform, which is why the qualitative weight exceeds what the\nnumber alone conveys. From uid 999 an attacker can read and rewrite platform\nconfiguration under /opt/webadm, including the httpd and PHP configuration defining\nrouting, authentication domains and backend connectivity - a persistence path that\nsurvives a service restart without touching the operating system; reach the directory\nbackend on the local LDAP listener and the application database on the local MariaDB\nlistener with the credentials the application itself carries, which for an MFA\nplatform means user records, OTP state and second-factor enrolments, so modification\ncan disable, redirect or re-enrol a user\u0027s second factor; interact with the\ncertificate signing daemon from inside the trust boundary where its network-level\nprotections no longer apply; write to product logs, supporting both anti-forensics\nand the observation channel this exploit uses; and disrupt availability of the console\nand of the authentication path it fronts, locking out users of every relying\napplication. Everything gained sits inside the authorization domain the application\nalready occupies, hence Scope Unchanged, but the content of that domain is the\nidentity infrastructure of whatever WebADM was deployed to protect.\n\nVerification boundary, stated plainly. All dynamic work was performed against a\nDocker container running WebADM 2.4.14 Freeware Edition, reached over TLS on the\ncontainer\u0027s HTTPS listener by a pure-standard-library Python client, driven from the\ncontainer host, and recorded across four independent runs that each used their own\nmarker and all returned the same uid 999 identity. The container\u0027s published ports\nwere mapped to loopback addresses and no request crossed a network boundary, so\nremote reachability is argued from the product\u0027s own binding configuration for an\nadmin console vhost that exists to be reached over a network, not measured from a\nseparate host. The application ships as a Blowfish-encrypted opcache file_cache corpus\nthat only the vendor\u0027s custom webadm-runphp interpreter (PHP 8.2.30, ZTS) decodes at\nload time, so there is no plaintext PHP on disk: the decoder was located in that\ninterpreter by following cross-references to the container magic, the parser and the\ndecryption were reimplemented offline, and 315 files were recovered. That recovery\nyields the literal string layer, not vendor source text, so the sink construction in\nthe advisory is labelled as a reconstruction from decoded string literals plus\nobserved behaviour, confirmed by the executed result. Exactly one command shape was\nexecuted and only that shape is claimed - a single echo carrying three command\nsubstitutions and a redirection into the product log - because the target shell\nrejected top-level parentheses and statement separators inside the injected text; a\nnested sh -c wrapper, a pipeline, an \u0026\u0026 -joined chain and any write into the document\nroot were never exercised. Privilege escalation, persistence and lateral movement to\nthe LDAP or MariaDB backends were reasoned about from the identity and the listener\nlayout, not executed. Only WebADM 2.4.14 Freeware Edition was tested; other versions\nand licensed editions with additional web service modules installed are unclaimed.\n\nTwo detection notes worth carrying into any rule. Every /admin/*.php request returns\nHTTP 200 together with the WebADM doctype even with no session cookie, because the\nframework renders the common HTML shell before the page logic runs the session check,\nso status code, response length and doctype are unusable as authorization signals and\nwill produce false positives if used that way. Detect on shell metacharacters in sid,\nabove all the apostrophe, and on unstructured lines appearing in\n/opt/webadm/logs/webadm.log; process ancestry alone is weak, because a webadm-httpd\nchild running grep and tail for the viewer is normal behaviour.\n\nMitigation summary: escapeshellarg() on sid at the sink (escapeshellcmd is not an\nacceptable substitute, since it does not move a value out of the quoting context it\nwas placed in); remove the shell entirely with proc_open() over an argument vector or\nfilter the file in PHP with a bounded tail counter, which also covers the second\ninterpolation site, the file operand derived from the log selector; validate sid\nagainst the alphanumeric shape the product\u0027s own random_id() generates and return 400\non mismatch; resolve the log selector through a fixed server-side enumeration; set an\nexplicit minimal User= and Group= for the httpd workers and stop the service account\nfrom appending to any log the viewer displays back; set disable_functions in php.ini,\nwhich the recorded configuration does not; and add a regression test that fails on a\nmetacharacter. Until a patch exists operators should bind the admin vhost to a\nmanagement interface, VPN or mutually authenticated proxy, treat console\nadministrator credentials as tier-zero secrets behind a second factor, alert on the\nindicators above, and on suspicion of exploitation rotate the administrator, LDAP and\ndatabase credentials and audit second-factor enrolments for the interval in question.\n\nFull technical analysis and a reproducible proof-of-concept:\n https://0day-rubbish.com/blog/rcdevs-webadm-logfile-viewer-sid-command-injection\n\nProject archive (ongoing disclosure series):\n https://github.com/Exploit-Garbage/0day-Rubbish\n\nRCDevs Security SA has been notified through the general corporate contact mailbox it\npublishes for enquiries, support and problem submissions; the vendor publishes no\nRFC 9116 security.txt and we found no product security page, vulnerability-disclosure\npolicy or researcher intake form, so there was no pre-publication channel for us to\nuse and this disclosure is unconditional. No vulnerability identifier has been\nassigned to this finding yet.\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-116",
"description": "CWE-116",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-20",
"description": "CWE-20",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-250",
"description": "CWE-250",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-276",
"description": "CWE-276",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-732",
"description": "CWE-732",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-78",
"description": "CWE-78",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-02T07:30:01Z",
"orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"shortName": "VULNARCHIVE"
},
"references": [
{
"tags": [
"technical-description",
"exploit"
],
"url": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/7"
},
{
"tags": [
"technical-description"
],
"url": "https://seclists.org/fulldisclosure/2026/Oct/7"
},
{
"url": "https://0day-rubbish.com"
},
{
"url": "https://0day-rubbish.com/blog/rcdevs-webadm-logfile-viewer-sid-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/7"
],
"discovery": "EXTERNAL"
},
"title": "[0day-rubbish] RCDevs WebADM 2.4.14 authenticated log viewer sid command injection to webadm uid 999 code execution (7.2)",
"x_gcve": [
{
"recordType": "advisory",
"relationships": [],
"vulnId": "GCVE-1988-2026-0470",
"x_vulnarchive": {
"archiveUrl": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/7",
"automated": true,
"contentSha256": "25758f4486952c44fcec8747d0484c4d60e1c235042090505c0124fba32a3f85",
"evidenceScore": 11,
"messageId": "",
"originalUrl": "https://seclists.org/fulldisclosure/2026/Oct/7",
"policy": "vulnarchive-1",
"sourceFormat": "text/html",
"sourcePublishedAt": "2026-10-05T17:53:47Z"
}
}
]
}
},
"cveMetadata": {
"assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"assignerShortName": "VULNARCHIVE",
"datePublished": "2026-11-02T07:30:01Z",
"dateUpdated": "2026-11-02T07:30:01Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1988-2026-0470"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
GCVE-1988-2026-0468
Vulnerability from gna-1988 – Published: 2026-11-02 07:30 – Updated: 2026-11-02 07:30| Vendor | Product | Version | |
|---|---|---|---|
| Ipconfigure | Orchid VMS |
Affected:
unknown
|
{
"containers": {
"cna": {
"affected": [
{
"product": "Orchid VMS",
"vendor": "Ipconfigure",
"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\nIPConfigure Orchid VMS, installed as Orchid Recorder, version 26.3.0.\n\nType: OS command injection (CWE-78, with CWE-20 bearing on it because no\ncharacter validation exists anywhere on the path; CWE-250 bears on the\nresult). The server property package.dnf.repo.gpg_key, the URL or path of\nthe GPG key signing the vendor RPM repository, is written through the\nauthenticated management REST API and persisted to the server properties\nfile untouched. On service start or restart the package-management thread\nformats it into the unquoted command template rpm --import {} and hands the\nresult to popen, that is to a shell. Every shell metacharacter in the value,\nseparators, pipes, backticks, command substitutions and redirections, is\ninterpreted as command syntax. The shipped service unit carries no user\ndirective, so the injected command runs as uid 0. The injection fires during\nthread initialization and repeats on every subsequent boot until the\nproperty is corrected.\n\nScoring. Dual-scored, with the primary reading named first:\n- PRIMARY, 7.2 High, CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. The write\n endpoint requires the config permission, which the vendor\u0027s own shipped\n OpenAPI role table grants in base scope to exactly one role,\n Administrator, so the privilege prerequisite is administrative.\n- CONDITIONAL, 9.8 Critical,\n CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, for installations that still\n accept the administrator credential the vendor\u0027s own installer declares as\n the packaged default; on such a deployment no privilege has to be obtained\n at all. This is the deployment-conditional reading, not the headline.\nThe advisory also discloses, and deliberately does not adopt, an\nintermediate 8.8 reading carried by our own earlier research record paired\nwith a low-privilege metric: the arithmetic is correct for that vector but\nthat privilege level contradicts the shipped role table. A scope-changed\nreading is rejected and not claimed.\n\nImpact: arbitrary command execution as uid 0 on a video management server\nwith one authenticated request plus the restart that request itself causes;\nread and rewrite of the recorded video archive, that is of physical-security\nevidence; persistence through the service unit or loaded libraries; and\nlateral reach from a host that by design spans camera networks. This is a\npost-authentication finding: the unauthenticated surface was exhausted, with\nnearly every specified path requiring authentication, the few unauthenticated\nendpoints parameterless and read-only, and traversal and bypass attempts all\nrejected. Debian-family deployments take the APT branch and never reach this\nsink; RHEL-family deployments are affected.\n\nVerification boundary, stated plainly. A real installation of the vendor\u0027s\nDebian bundle inside a Linux container, driven purely through the documented\nHTTP API with the installer-default credential; three independent root-owned\nmarker artifacts were produced and command substitution was demonstrably\nevaluated on the target. One departure from stock is declared: the DNF code\npath was entered by presenting the Debian-family container as RHEL-family and\nsupplying the repository directory and template files the code requires,\nwhich a native RHEL-family host provides by itself. No native RHEL host was\nexploited, no container escape was attempted or claimed, and only the 26.3.0\nbundle was installed and executed.\n\nFull technical analysis and a reproducible proof-of-concept:\n https://0day-rubbish.com/blog/ipconfigure-orchid-vms-dnf-gpg-key-command-injection\n\nProject archive (ongoing disclosure series):\n https://github.com/Exploit-Garbage/0day-Rubbish\n\nThe vendor has been notified through the corporate contact address published\non its own site, as no security-specific intake is published. No\nvulnerability identifier has been assigned to this finding yet.\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-250",
"description": "CWE-250",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-78",
"description": "CWE-78",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-02T07:30:01Z",
"orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"shortName": "VULNARCHIVE"
},
"references": [
{
"tags": [
"technical-description",
"exploit"
],
"url": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/5"
},
{
"tags": [
"technical-description"
],
"url": "https://seclists.org/fulldisclosure/2026/Oct/5"
},
{
"url": "https://0day-rubbish.com"
},
{
"url": "https://0day-rubbish.com/blog/ipconfigure-orchid-vms-dnf-gpg-key-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/5"
],
"discovery": "EXTERNAL"
},
"title": "[0day-rubbish] IPConfigure Orchid VMS 26.3.0 authenticated DNF repository GPG-key property command injection to root (7.2)",
"x_gcve": [
{
"recordType": "advisory",
"relationships": [],
"vulnId": "GCVE-1988-2026-0468",
"x_vulnarchive": {
"archiveUrl": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/5",
"automated": true,
"contentSha256": "44b60680028e167ff87f3e91e608c2cbef11dd13e4a45f3f0911a0a2e4e1e365",
"evidenceScore": 11,
"messageId": "",
"originalUrl": "https://seclists.org/fulldisclosure/2026/Oct/5",
"policy": "vulnarchive-1",
"sourceFormat": "text/html",
"sourcePublishedAt": "2026-10-05T17:53:12Z"
}
}
]
}
},
"cveMetadata": {
"assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"assignerShortName": "VULNARCHIVE",
"datePublished": "2026-11-02T07:30:01Z",
"dateUpdated": "2026-11-02T07:30:01Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1988-2026-0468"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
GCVE-1988-2026-0467
Vulnerability from gna-1988 – Published: 2026-11-02 07:30 – Updated: 2026-11-02 07:30{
"containers": {
"cna": {
"affected": [
{
"product": "LineEds",
"vendor": "Circutor",
"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 pwrstudio\ndaemon shipped in Circutor LineEds (Line Energy Data System) industrial energy gateway\nfirmware 24.11.14-r0, engine variant pss0. Circutor S.A. is in Spain; the appliance sits\nbetween metering and power-quality instrumentation on one side and an energy-management\nor SCADA back office on the other.\n\nType: operating-system command injection (CWE-78) reached without authentication\n(CWE-306). Those two are the classes recorded in the research; the advisory\u0027s own\nclassification additionally maps CWE-285, because the permission gate fails open in two\nindependent ways, and CWE-20, because the events document is accepted with no schema\nvalidation, as contributing weaknesses, with CWE-250/CWE-269 recorded as bearing on\nremediation priority rather than on the defect.\n\nRoot cause: the daemon\u0027s event engine loads its configuration from events.xml, exposed at\n/services/user/events.xml over the management HTTP interface. An event may carry a\nshellExecute action whose command and parameter elements are concatenated by\nXCEventActionShellExecute::Execute (FUN_00548414) with the wide-string format \"%ls %ls\"\nstored at 0x7cc2d0, converted from wide to narrow, and passed to system() at call site\n0x5484bc. Nothing between the socket and the sink neutralises shell metacharacters: no\nquoting, no filtering, no allowlist. The format string is the whole reason the injection\nworks the way it does - two %ls conversions separated by a single space mean the sink\nperforms concatenation rather than argument separation, so command and parameter become one\nshell word sequence with no quoting boundary between them; a payload needs only a statement\nseparator, not a quote escape. The defect is at that concatenation rather than in the XML\nparser, which performs a pure element-to-field copy and is behaving correctly.\n\nExploitation is two HTTP requests with no delivery precondition of any kind. Step one\nwrites an event definition into /services/user/events.xml carrying an always-true\ncondition so it enters the live set on every evaluation pass, a deliberately invalid\ncommand token so the first shell statement fails harmlessly, and a parameter of the form\nsemicolon, command, semicolon, hash - yielding a shell line such as\n\"x ;id \u003e/tmp/circutor_eds_vuln_rce_marker;#\". Step two requests the restart.xml route,\nwhich makes the engine reload the document through XCEventDriver::LoadXml (FUN_0020acac),\nbuild the action object, evaluate the condition and dispatch Execute. There is no race, no\nmemory-layout dependency, no file to pre-place on the target and no dependence on another\nvulnerability, and because the intermediate state is a file the product itself persists,\nthe two steps can be separated in time arbitrarily. The binary is compiled with\nCONFIG_NO_HASP, so no licence-dongle gate stands between a written event and the shell\naction. The image is a non-PIE EXEC, so every offset quoted is a fixed file-and-memory\naddress reproducible against the same build with no relocation arithmetic.\n\nUnauthenticated classification, and it does not rest on a configuration assumption. The\nproduct implements authorization as a per-handler gate rather than as a dispatcher\nmiddleware stage: the gate is one function, FUN_001a93cc, invoked with a permission\nconstant by whichever handler chooses to invoke it. A cross-reference census of that\nfunction in the shipped binary records 197 call sites, all individual action handlers, all\ninside the address range 0x1aexxx to 0x1bfxxx. Both handlers in this chain fall outside it:\nthe restart handler FUN_001e3554 at 0x1e3554 and the events write handler FUN_0023ace0 at\n0x23ace0. The gate is therefore structurally incapable of authorizing either, because it is\nnever invoked on their paths. The restart handler\u0027s only guard is FUN_001a955c, a\nthree-instruction predicate testing that the request-context fields at +0x34 and +0x4c are\nboth non-null; those are the request and response object pointers installed\nunconditionally by the dispatcher\u0027s own setup routine FUN_001add40, which the route entry\nat 0x76a480 names at offset +0x0c, ahead of the handler at +0x10. It tests object presence,\nnot credentials. One honest tension is published rather than smoothed over: the events write\nhandler and its dispatcher contain no authorization call that we could find, yet the handler\nis recorded as capable of both 401 and 200 outcomes and we could not determine what selects\nthe 401 branch - so a credential-required conditional score is carried alongside the\nprimary rating precisely to account for that unresolved path.\n\nA second, configuration-independent defect is documented in the same advisory. The gate\u0027s\nown logic returns success with no check of any kind when the permission constant is not\n0x15, and returns success when enforcement is toggled off, so it fails open in two\nindependent ways for the 197 handlers that do call it. This chain does not depend on that\ndefect, and the advisory deliberately makes no claim that any specific other route is a\nsecond path to command execution; it is reported as a separate finding for vendor review.\n\nTwo claims carried by the research record are deliberately NOT published as fact. First,\nthat security enforcement is off by default: no shipped artifact supports the default value\n- nothing inside the image, no value read from the extracted root filesystem, not the\ncontents of the engine.xml package, and no vendor documentation of the factory setting. The\nunauthenticated classification does not depend on it, because neither route in the chain\ninvokes the gate at all; the default matters only for the alternative reloadCfg.xml\ntrigger, whose reload action does call the gate with permission 0x15, and that variant is\ntreated as conditional. Second, that pwrstudio runs as root on a device: the observed\nuid=0(root) is the privilege of the root-run emulation harness, and the device-side account\nis inferred from the daemon\u0027s ownership of the restart, reload and upgrade routes, since no\ninit script or service unit was extracted. Neither caveat alters the impact metrics.\n\nScoring. Four readings were priced and all four are published, two of them as not adopted:\n- PRIMARY, 9.8 Critical, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n- CONDITIONAL, 8.8 High, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, applying where a\n deployment rejects anonymous configuration writes - enforcement enabled, or the events\n handler\u0027s unresolved 401 branch active - so that any valid operator credential suffices.\n Nothing else in the chain changes.\n- NOT ADOPTED, 10.0 Critical, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - the Scope\n Changed reading a reviewer who counts the appliance OS as a realm distinct from the\n management daemon would apply. We do not adopt it: the command executes inside the\n authority the vulnerable component already holds and no sandbox, container,\n virtualisation boundary or separate security realm is crossed. Published so the choice is\n visible and so the higher number is not mistaken for our claim.\n- NOT ADOPTED, 8.1 High, CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Attack Complexity\n raised despite the absence of any attacker-unsatisfiable precondition.\nA PR:H reading of 7.2 is not carried, because nothing indicates the configuration write or\nthe restart route demands an administrator rather than any authenticated principal.\n\nOn scoring accuracy: the research record carried 9.8 with that primary vector and\nrecomputing it under the CVSS 3.1 base algorithm yields 9.8, so the recorded number is\narithmetically correct. The reconciliation that matters is the grounding rather than the\narithmetic: the record derived PR:N from an asserted factory default for the security\ntoggle, for which no shipped artifact exists, whereas the advisory derives PR:N from the\nhandler call census and the two handler decompilations, which are artifact evidence. The\nscore is unchanged and the reason for it has been replaced with one that survives scrutiny.\nWe note this because several earlier advisories in this repository carried recorded scores\nthat did not compute for their recorded vectors.\n\nImpact: arbitrary command execution on an industrial energy gateway with the daemon\u0027s\nprivileges. Confidentiality High - every measurement record, configuration item, credential,\ncertificate and key on the appliance becomes readable, including whatever it holds to\nauthenticate to the energy-management back office, and a compromised gateway is an ideal\npassive collection point because it sees the traffic it forwards. Integrity High -\nmeasurement data can be altered in transit or at rest before reaching the back office, so\nforged consumption, generation or power-quality figures propagate into reporting,\nsettlement, alarm thresholds and control decisions while arriving through the legitimate\npath and are hard to distinguish from real data; event configuration can be rewritten and\nfirmware pushed through the same management plane, since the upgrade route is served by the\nsame daemon. Availability High - the attacker controls the very restart and reload\nprimitives this chain uses, and can reboot on demand, stop measurement collection, drop\nconfiguration or wedge the engine, producing a data outage in the metering path.\nPersistence and lateral movement are High in practice on the inference below: a foothold\ninside the OT segment on a device that security tooling normally treats as trusted\ninstrumentation.\n\nVerification boundary, stated plainly. Confirmation used the shipped binary extracted from\nthe firmware package, run under qemu-arm-static USER-MODE emulation with gdb - no\nfull-system emulation, so no kernel, device drivers, network stack or reverse-proxy front\nend were present. No physical device was used at any point: nothing was powered, connected,\nflashed or queried. The daemon\u0027s HTTP stack could not be started under emulation, for a\nspecific reason: its serial initialisation thread loops on an open of a Freescale i.MX\nprivate serial device returning EACCES, the device does not exist under qemu-user and no\ndevice model is provided, so the engine-ready futex is never signalled and the worker thread\nthat would accept connections is never scheduled. A listening socket on port 1500 does come\nup with an accept backlog, but nothing ever issues accept or poll against it, so no request\ncan be delivered and no response produced.\n\nThe real shipped sink function was therefore invoked directly under debugger control with\nthe field values the documented XML schema produces, using a return-immediately instruction\nplanted at the sub-object\u0027s vtable slot 2 - a bx lr gadget at 0x37510 - to neutralise the\nvirtual copy so Execute could reach the concatenation and the system() call without a fully\nconstructed engine. It returned 1 and wrote a 39-byte root-owned marker containing\nuid=0(root) gid=0(root) groups=0(root). Two arithmetic checks corroborate rather than\nmerely assert: the content line plus trailing newline is exactly 39 bytes, and the\nwide-conversion lengths independently confirm the payload loaded into the object - 1 for\nthe single-character command, whose first wide character is 0x78, and 41 for the parameter,\nwhose first three wide characters are 0x3b, 0x69 and 0x64, i.e. semicolon, i, d - proving\nthe injection prefix survived the narrow-to-wide conversion intact rather than being\nencoded or escaped. A control run with a benign 25-character parameter reached the same\nsink, returned the same value and wrote nothing, which is what upgrades this from \"we called\na function and a file appeared\" to \"the file appeared because of the injected statement\".\n\nEND-TO-END HTTP EXPLOITATION WAS NOT PERFORMED, NO REQUEST WAS EVER DELIVERED TO\npwrstudio, AND NO PHYSICAL DEVICE WAS USED. The unauthenticated write and the unauthenticated\nrestart are proven statically, from the route table, the handler decompilations and the\ncaller census; they are not"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-250",
"description": "CWE-250",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-269",
"description": "CWE-269",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-285",
"description": "CWE-285",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-306",
"description": "CWE-306",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-78",
"description": "CWE-78",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-02T07:30:01Z",
"orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"shortName": "VULNARCHIVE"
},
"references": [
{
"tags": [
"technical-description",
"exploit"
],
"url": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/4"
},
{
"tags": [
"technical-description"
],
"url": "https://seclists.org/fulldisclosure/2026/Oct/4"
},
{
"url": "https://0day-rubbish.com"
},
{
"url": "https://0day-rubbish.com/blog/circutor-lineeds-pwrstudio-shellexecute-unauth-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/4"
],
"discovery": "EXTERNAL"
},
"title": "[0day-rubbish] Circutor LineEds 24.11.14-r0 unauthenticated pwrstudio events.xml shellExecute command injection (9.8)",
"x_gcve": [
{
"recordType": "advisory",
"relationships": [],
"vulnId": "GCVE-1988-2026-0467",
"x_vulnarchive": {
"archiveUrl": "https://vuln.freearchive.org/archive/full-disclosure/2026/Oct/4",
"automated": true,
"contentSha256": "2296534ccbe441926f8e0393af24df4526cdcf42cb04005ba8eebd60c1329856",
"evidenceScore": 11,
"messageId": "",
"originalUrl": "https://seclists.org/fulldisclosure/2026/Oct/4",
"policy": "vulnarchive-1",
"sourceFormat": "text/html",
"sourcePublishedAt": "2026-10-05T17:52:58Z"
}
}
]
}
},
"cveMetadata": {
"assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"assignerShortName": "VULNARCHIVE",
"datePublished": "2026-11-02T07:30:01Z",
"dateUpdated": "2026-11-02T07:30:01Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1988-2026-0467"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
GCVE-1988-2026-0446
Vulnerability from gna-1988 – Published: 2026-11-02 07:29 – Updated: 2026-11-02 07:29| Vendor | Product | Version | |
|---|---|---|---|
| rocq-prover | rocq |
Affected:
unknown
|
- related CVE-2026-72714
{
"containers": {
"cna": {
"affected": [
{
"product": "rocq",
"vendor": "rocq-prover",
"versions": [
{
"status": "affected",
"version": "unknown"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Jonathan Brossard"
}
],
"descriptions": [
{
"lang": "en",
"value": "1. Summary\n==========\nA soundness bug in the Rocq (formerly Coq) kernel allows construction\nof a checked proof of False \u2014 and by extension, any proposition,\nincluding 0 = 1 \u2014 without axioms, plugins, or unsafe flags. Print\nAssumptions reports the proof as closed under the global context.\nThe module system does not correctly restore the universe checking flag\nwhen a module that locally disabled the check (`Local Unset Universe\nChecking`) is closed. The global flag is restored, but the universe\ngraph keeps its own copy of the flag, which remains disabled. Test\nUniverse Checking reports the check as enabled while the kernel still\naccepts universe-inconsistent terms. This allows Hurkens\u0027 paradox to\nprove False.\nThis is a 0-day: no fix has been merged as of Rocq 9.2.0.\nThis CVE was used to construct Millennium Problem forgeries \u2014 Docker-\nreproducible certificates \"proving\" the Riemann Hypothesis, Navier-\nStokes regularity, BSD conjecture, and Hodge conjecture, all passing\nPrint Assumptions with a clean axiom whitelist.\n2. Context\n==========\nRocq (formerly Coq) is the reference implementation of the Calculus of\nInductive Constructions and one of the most widely deployed proof\nassistants. Its kernel is the trusted core that checks every proof\nbefore acceptance. Universe checking is a critical safety mechanism:\nwithout it, Girard\u0027s paradox (via Hurkens\u0027 construction in the standard\nlibrary) can derive False.\nFormally verified systems certified under Common Criteria (ISO 15408) or\nDO-178C (airborne software) derive their assurance from the correctness\nof the proof checker. A kernel-level bypass invalidates that assurance\nchain.\nThe desynchronisation is particularly dangerous because Test Universe\nChecking reports the flag as enabled \u2014 neither the user nor automated\ntooling can detect the actual kernel state through the normal query\nmechanism.\n3. Impact\n=========\n- Formally verified compilers (CompCert)\n- Verified OS kernels (CertiKOS)\n- Separation logic frameworks (Iris)\n- Mathematical libraries (MathComp)\n- Proof-carrying code: a malicious .v file in a dependency could\nintroduce unsound declarations that pass both Print Assumptions and\nTest Universe Checking\n- Verified smart contracts (ConCert)\n- Mathematical proof verification: Millennium Problem forgeries\ndemonstrate that arbitrary mathematical claims can be \"certified\"\n4. Publicly Demonstrated\n========================\nMillennium Problem forgeries built using this CVE:\n- Riemann Hypothesis (Lagarias criterion):\nhttps://github.com/endrazine/rocq-cve-poc-22287-rh\n- Navier-Stokes regularity (and its negation):\nhttps://github.com/endrazine/rocq-cve-poc-22287-ns\n- BSD conjecture (rank equality):\nhttps://github.com/endrazine/rocq-cve-poc-22287-bsd\n- Hodge conjecture:\nhttps://github.com/endrazine/rocq-cve-poc-22287-hodge\n- P=NP (by JP Aumasson):\nhttps://github.com/endrazine/rocq-cve-poc-22287-pnp\nAll forgeries are Docker-reproducible and print FORGERY CONFIRMED with\nPrint Assumptions whitelist clean.\n5. Proof of Concept\n===================\nA Docker-reproducible PoC is available:\ngit clone https://github.com/endrazine/rocq-cve-poc-22287\ncd rocq-cve-poc-22287\ndocker build -t rocq-cve-poc-22287 .\ndocker run --rm rocq-cve-poc-22287\nOn Rocq \u22649.2.0, the output confirms the proof of 0 = 1 with no axioms\nand Test Universe Checking reporting \"on\" while the kernel accepts\nuniverse-inconsistent terms.\n6. Root Cause\n=============\nWhen a module executes Local Unset Universe Checking, the global\nenvironment\u0027s flag is correctly scoped and restored on module close.\nHowever, the universe graph maintains its own copy of the flag, and\nmodule close does not synchronise this copy. The graph\u0027s flag remains\ndisabled after the module closes.\n(a) CWE-459: Incomplete Cleanup \u2014 the module close does not clean up\nthe universe graph\u0027s copy of the flag.\n(b) CWE-20: Improper Input Validation \u2014 the kernel accepts universe-\ninconsistent terms based on the stale flag value.\n7. Scoring\n==========\nCVSS 3.1: AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N \u2014 7.1 (High)\nCVSS 4.0: AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N \u2014 6.8\n(Medium)\n8. CWE\n======\nCWE-459: Incomplete Cleanup\nCWE-20: Improper Input Validation\n9. CVE\n======\nCVE-2026-72714 (assigned by VulnCheck as CNA)\n10. Affected Versions\n=====================\nRocq Prover \u2264 9.2.0 (all versions including Coq 8.x that include\nHurkens in the standard library)\nFixed in: UNFIXED as of Rocq 9.2.0.\n11. Mitigation\n==============\n- No patched version is available.\n- Run coqchk on compiled .vo files \u2014 coqchk operates independently of\nthe in-process flag state.\n- Audit dependencies for use of Local Unset Universe Checking inside\nmodules.\n- Do not rely on Test Universe Checking to verify kernel state after\nmodule operations.\n12. References\n==============\nBug report: https://github.com/rocq-prover/rocq/issues/22287\nPoC: https://github.com/endrazine/rocq-cve-poc-22287\nVulnCheck:\nhttps://www.vulncheck.com/advisories/rocq-prover-through-universe-checking-s...\nNVD: https://nvd.nist.gov/vuln/detail/CVE-2026-72714\n13. Timeline\n============\n2026 Bug reported by Ga\u00ebtan Gilbert (rocq-prover/rocq#22287)\n2026 Issue remains open \u2014 no fix merged\n2026-08-24 CVE-2026-72714 published by VulnCheck\n2026-08-24 Docker-reproducible PoC published\n2026-08 Millennium Problem forgeries published\n14. Credit\n==========\nBug discovery: Ga\u00ebtan Gilbert (@SkySkimmer)\nP=NP forgery: JP Aumasson (@veorq)\nPoC packaging: Jonathan Brossard (@endrazine) \u2014 MOABI / PSIRT.com"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-459",
"description": "CWE-459",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-02T07:29:47Z",
"orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"shortName": "VULNARCHIVE"
},
"references": [
{
"tags": [
"technical-description",
"exploit"
],
"url": "https://vuln.freearchive.org/archive/item/804f4ce049d531fd5600156172b2094c5c2eb8969c849a6b941ee502c3c4e9e8"
},
{
"tags": [
"technical-description"
],
"url": "https://lists.securityfocus.com/hyperkitty/list/bugtraq@bugtraq.ai/message/YAAUNKGUH3IC5JJ2IXKETMPGTNEG32QV/"
},
{
"url": "https://github.com/endrazine/rocq-cve-poc-22287"
},
{
"url": "https://github.com/endrazine/rocq-cve-poc-22287-bsd"
},
{
"url": "https://github.com/endrazine/rocq-cve-poc-22287-hodge"
},
{
"url": "https://github.com/endrazine/rocq-cve-poc-22287-ns"
},
{
"url": "https://github.com/endrazine/rocq-cve-poc-22287-pnp"
},
{
"url": "https://github.com/endrazine/rocq-cve-poc-22287-rh"
},
{
"url": "https://github.com/rocq-prover/rocq/issues/22287"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72714"
},
{
"url": "https://www.vulncheck.com/advisories/rocq-prover-through-universe-checking-state-desynchronised-after-module-close"
}
],
"source": {
"defect": [
"459a018a-ef5a-4549-979a-60235c64d264%40gmail.com"
],
"discovery": "EXTERNAL"
},
"title": "[Bugtraq] CVE-2026-72714: Rocq universe checking state desynchronised after module close (0 = 1 demonstrated) \u2014 0-day",
"x_gcve": [
{
"recordType": "analysis",
"relationships": [
{
"destId": "CVE-2026-72714",
"type": "related"
}
],
"vulnId": "GCVE-1988-2026-0446",
"x_vulnarchive": {
"archiveUrl": "https://vuln.freearchive.org/archive/item/804f4ce049d531fd5600156172b2094c5c2eb8969c849a6b941ee502c3c4e9e8",
"automated": true,
"contentSha256": "804f4ce049d531fd5600156172b2094c5c2eb8969c849a6b941ee502c3c4e9e8",
"evidenceScore": 10,
"messageId": "459a018a-ef5a-4549-979a-60235c64d264%40gmail.com",
"originalUrl": "https://lists.securityfocus.com/hyperkitty/list/bugtraq@bugtraq.ai/message/YAAUNKGUH3IC5JJ2IXKETMPGTNEG32QV/",
"policy": "vulnarchive-1",
"sourceFormat": "text/html",
"sourcePublishedAt": "2026-11-02T07:29:47Z"
}
},
{
"recordType": "advisory",
"vulnId": "GCVE-1988-2026-0446"
}
]
}
},
"cveMetadata": {
"assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"assignerShortName": "VULNARCHIVE",
"datePublished": "2026-11-02T07:29:47Z",
"dateUpdated": "2026-11-02T07:29:47Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1988-2026-0446"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
GCVE-1988-2026-0442
Vulnerability from gna-1988 – Published: 2026-11-02 07:29 – Updated: 2026-11-02 07:29| Vendor | Product | Version | |
|---|---|---|---|
| leanprover | lean4 |
Affected:
unknown
|
- related CVE-2026-72711
{
"containers": {
"cna": {
"affected": [
{
"product": "lean4",
"vendor": "leanprover",
"versions": [
{
"status": "affected",
"version": "unknown"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Jonathan Brossard"
}
],
"descriptions": [
{
"lang": "en",
"value": "1. Summary\n==========\nA soundness bug in the Lean 4 kernel allows construction of a checked\nproof of False \u2014 and by extension, any proposition, including 0 = 1 \u2014\nwithout axioms, sorry, unsafeCast, debug.skipKernelTC, or modified\n.olean files. The proof passes the kernel at maximum checking (--trust=0).\nThe kernel\u0027s add_opaque path skips the closure check\n(check_no_metavar_no_fvar) that the definition and theorem paths\nperform. A stale entry in the type checker\u0027s inference cache can be\nreused after its local variable is gone, allowing a metaprogram to\nsubmit an opaque declaration whose value references an unbound free\nvariable. The kernel then admits an opaque constant of type False.\n2. Context\n==========\nLean 4 is increasingly used as a foundation for formally verified\nsoftware, proof-carrying code, and mathematical libraries. Its kernel is\nthe trusted core: every theorem must pass kernel type-checking before it\nis accepted. A soundness bug in the kernel undermines the guarantees of\nany system built on top of it.\nFormally verified systems certified under Common Criteria (ISO 15408) or\nDO-178C (airborne software) derive their assurance from the correctness\nof the proof checker. A kernel-level bypass invalidates that assurance\nchain.\nIndependent checkers such as Nanoda and lean4lean that replay proofs\nagainst the same kernel rules are equally affected by the missing\nclosure check.\n3. Impact\n=========\n- Formally verified software: any proposition can be \"proved\" and\nkernel-checked, including safety properties of compilers, OS kernels,\nand cryptographic libraries.\n- Proof-carrying code: a malicious Lake dependency could inject unsound\nopaque declarations that pass kernel checking.\n- Mathematical proof verification: results checked by the Lean kernel\ncannot be trusted on affected versions.\n4. Proof of Concept\n===================\nA Docker-reproducible PoC is available:\ngit clone https://github.com/endrazine/lean-cve-poc-14484\ncd lean-cve-poc-14484\ndocker build -t lean-cve-poc-14484 .\ndocker run --rm lean-cve-poc-14484\nOn a vulnerable version, the output reports the proof of 0 = 1 as\naxiom-free. On a patched version, the kernel rejects the opaque\ndeclaration.\n5. Root Cause\n=============\nThe function environment::add_opaque does not call\ncheck_no_metavar_no_fvar on the declaration\u0027s body, unlike the\ndefinition and theorem paths. This means:\n(a) A free variable (fvar) that existed in a now-discarded local context\nis not detected. CWE-488 (Exposure of Data Element to Wrong Session).\n(b) The kernel accepts a body containing references to variables that\nare no longer in scope. CWE-20 (Improper Input Validation).\nA metaprogram exploits this by caching a type-checking result for False\nagainst a temporary local, restoring the context, and submitting an\nopaque declaration referencing the stale cache entry.\n6. Scoring\n==========\nCVSS 3.1: AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N \u2014 7.1 (High)\nCVSS 4.0: AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N \u2014 6.8\n(Medium)\n7. CWE\n======\nCWE-488: Exposure of Data Element to Wrong Session\nCWE-20: Improper Input Validation\n8. CVE\n======\nCVE-2026-72711 (assigned by VulnCheck as CNA)\n9. Affected Versions\n====================\nLean 4 \u003c v4.32.2 (all versions from initial release)\nFixed in: v4.32.2, v4.33.0, nightly 2026-07-23 and later\n10. Mitigation\n==============\n- Upgrade to Lean 4 v4.32.2 or later.\n- No workaround exists for affected versions \u2014 the flaw is in the\nkernel itself.\n11. References\n==============\nBug report: https://github.com/leanprover/lean4/issues/14484\nFix: https://github.com/leanprover/lean4/pull/14498\nPoC: https://github.com/endrazine/lean-cve-poc-14484\nVulnCheck:\nhttps://www.vulncheck.com/advisories/lean-4-before-kernel-accepts-opaque-dec...\nNVD: https://nvd.nist.gov/vuln/detail/CVE-2026-72711\n12. Timeline\n============\n2026 Bug reported (leanprover/lean4#14484)\n2026 Kernel fix merged (PR #14498)\n2026-08-24 CVE-2026-72711 published by VulnCheck\n2026-08-24 Docker-reproducible PoC published\n13. Credit\n==========\nBug discovery: Patrick Hulin\nKernel fix: Joachim Breitner (PR #14498)\nPoC packaging: Jonathan Brossard (@endrazine) \u2014 MOABI / PSIRT.com"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-488",
"description": "CWE-488",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-02T07:29:44Z",
"orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"shortName": "VULNARCHIVE"
},
"references": [
{
"tags": [
"technical-description",
"exploit"
],
"url": "https://vuln.freearchive.org/archive/item/7b0ccc01e25fddbcaeadf955c7c62d194d45d1670b03c1a293a09d87a10cbc86"
},
{
"tags": [
"technical-description"
],
"url": "https://lists.securityfocus.com/hyperkitty/list/bugtraq@bugtraq.ai/message/HASOMMUIF672Y7I6NSEVO64G6IOOELJW/"
},
{
"url": "https://github.com/endrazine/lean-cve-poc-14484"
},
{
"url": "https://github.com/leanprover/lean4/issues/14484"
},
{
"url": "https://github.com/leanprover/lean4/pull/14498"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72711"
},
{
"url": "https://www.vulncheck.com/advisories/lean-4-before-kernel-accepts-opaque-declaration-with-an-unbound-free-variable"
}
],
"source": {
"defect": [
"c7290a16-635f-49be-96f8-3b83b3ca52c7%40gmail.com"
],
"discovery": "EXTERNAL"
},
"title": "[Bugtraq] CVE-2026-72711: Lean 4 kernel soundness bug \u2014 inference cache poisoning via opaque declarations (0 = 1 demonstrated)",
"x_gcve": [
{
"recordType": "analysis",
"relationships": [
{
"destId": "CVE-2026-72711",
"type": "related"
}
],
"vulnId": "GCVE-1988-2026-0442",
"x_vulnarchive": {
"archiveUrl": "https://vuln.freearchive.org/archive/item/7b0ccc01e25fddbcaeadf955c7c62d194d45d1670b03c1a293a09d87a10cbc86",
"automated": true,
"contentSha256": "7b0ccc01e25fddbcaeadf955c7c62d194d45d1670b03c1a293a09d87a10cbc86",
"evidenceScore": 10,
"messageId": "c7290a16-635f-49be-96f8-3b83b3ca52c7%40gmail.com",
"originalUrl": "https://lists.securityfocus.com/hyperkitty/list/bugtraq@bugtraq.ai/message/HASOMMUIF672Y7I6NSEVO64G6IOOELJW/",
"policy": "vulnarchive-1",
"sourceFormat": "text/html",
"sourcePublishedAt": "2026-11-02T07:29:44Z"
}
},
{
"recordType": "advisory",
"vulnId": "GCVE-1988-2026-0442"
}
]
}
},
"cveMetadata": {
"assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"assignerShortName": "VULNARCHIVE",
"datePublished": "2026-11-02T07:29:44Z",
"dateUpdated": "2026-11-02T07:29:44Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1988-2026-0442"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
GCVE-1988-2026-0441
Vulnerability from gna-1988 – Published: 2026-11-02 07:29 – Updated: 2026-11-02 07:29| Vendor | Product | Version | |
|---|---|---|---|
| leanprover | lean4 |
Affected:
unknown
|
- related CVE-2026-72844
{
"containers": {
"cna": {
"affected": [
{
"product": "lean4",
"vendor": "leanprover",
"versions": [
{
"status": "affected",
"version": "unknown"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Jonathan Brossard"
}
],
"descriptions": [
{
"lang": "en",
"value": "1. Summary\n==========\nA soundness bug in the Lean 4 kernel allows construction of a checked\nproof of False \u2014 and by extension, any proposition, including 0 = 1 \u2014\nwithout axioms, sorry, unsafeCast, or modified .olean files.\nThe kernel does not verify that the structure named in a projection\nexpression matches the type of the value being projected. Additionally,\nenvironment::add_inductive in src/kernel/inductive.cpp did not type-check\nnested inductive applications, leaving their parameters unchecked. A\nmetaprogram can register an ill-typed nested inductive and produce a\nproof of False at maximum kernel checking (--trust=0).\nThe proof of concept pads expressions to force hash collisions, defeating\nkernel caching. This is the means of reaching the flaw, not its cause.\n2. Context\n==========\nLean 4 is increasingly used as a foundation for formally verified\nsoftware, proof-carrying code, and mathematical libraries. Its kernel is\nthe trusted core: every theorem must pass kernel type-checking before it\nis accepted. A soundness bug in the kernel undermines the guarantees of\nany system built on top of it.\nFormally verified systems certified under Common Criteria (ISO 15408) or\nDO-178C (airborne software) derive their assurance from the correctness\nof the proof checker. A kernel-level bypass invalidates that assurance\nchain.\nIndependent checkers such as Nanoda and lean4lean replay proofs against\nthe same kernel rules and are therefore equally affected.\n3. Impact\n=========\n- Formally verified software: any proposition can be \"proved\" and\nkernel-checked, including safety properties of compilers, OS kernels,\nand cryptographic libraries.\n- Proof-carrying code: a malicious Lake dependency could inject unsound\ndeclarations that pass kernel checking.\n- Mathematical proof verification: results checked by the Lean kernel\ncannot be trusted on affected versions.\n4. Proof of Concept\n===================\nA Docker-reproducible PoC is available:\ngit clone https://github.com/endrazine/lean-cve-poc\ncd lean-cve-poc\ndocker build -t lean-cve-poc .\ndocker run --rm lean-cve-poc\nOn a vulnerable version, the output reports:\nzero_eq_one : 0 = 1\n-- no axioms\nOn a patched version, the kernel rejects the ill-typed inductive.\n5. Root Cause\n=============\nTwo omissions in the kernel:\n(a) Projection validation: the kernel does not check that the structure\nnamed in a projection matches the type of the value being projected.\nCWE-843 (Type Confusion).\n(b) Nested inductive checking: environment::add_inductive does not\ntype-check nested inductive applications, so their parameters go\nunchecked. CWE-20 (Improper Input Validation).\nCombined, these allow a metaprogram to register an ill-typed nested\ninductive that exploits the projection mismatch, producing a closed\nproof of False.\n6. Scoring\n==========\nCVSS 3.1: AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N \u2014 7.1 (High)\nCVSS 4.0: AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N \u2014 6.8\n(Medium)\n7. CWE\n======\nCWE-843: Access of Resource Using Incompatible Type (Type Confusion)\nCWE-20: Improper Input Validation\n8. CVE\n======\nCVE-2026-72844 (assigned by VulnCheck as CNA)\n9. Affected Versions\n====================\nLean 4 \u2264 v4.31.0 / nightly \u2264 2026-07-27\nFixed in: nightly 2026-07-29 and later; v4.32.2\n10. Mitigation\n==============\n- Upgrade to Lean 4 v4.32.2 or later.\n- No workaround exists for affected versions \u2014 the flaw is in the\nkernel itself.\n11. References\n==============\nBug report: https://github.com/leanprover/lean4/issues/14576\nFix: https://github.com/leanprover/lean4/pull/14577\nPoC: https://github.com/endrazine/lean-cve-poc\nVulnCheck:\nhttps://www.vulncheck.com/advisories/lean-4-before-kernel-type-checking-bypa...\nNVD: https://nvd.nist.gov/vuln/detail/CVE-2026-72844\n12. Timeline\n============\n2026-07-27 Bug reported (leanprover/lean4#14576)\n2026-07-29 Kernel fix merged (PR #14577)\n2026-08-02 Advisory posted to oss-security\n2026-08-20 CVE-2026-72844 published by VulnCheck\n2026-08-24 Docker-reproducible PoC published\n13. Credit\n==========\nBug discovery and minimal PoC: @kiranandcode\nOriginal CollatzLean exploit: Ramana Kumar (@xrchz)\nKernel fix: Leonardo de Moura\nPoC packaging: Jonathan Brossard (@endrazine) \u2014 MOABI /\nPSIRT.com"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20",
"lang": "en",
"type": "CWE"
},
{
"cweId": "CWE-843",
"description": "CWE-843",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-02T07:29:43Z",
"orgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"shortName": "VULNARCHIVE"
},
"references": [
{
"tags": [
"technical-description",
"exploit"
],
"url": "https://vuln.freearchive.org/archive/item/1d180a8302029b1f56d12aff2ae2936067901f43fe12e67588131da7114d6012"
},
{
"tags": [
"technical-description"
],
"url": "https://lists.securityfocus.com/hyperkitty/list/bugtraq@bugtraq.ai/message/5APDW5T3SOY76W62O73OGAX7GDRAIXF2/"
},
{
"url": "https://github.com/endrazine/lean-cve-poc"
},
{
"url": "https://github.com/leanprover/lean4/issues/14576"
},
{
"url": "https://github.com/leanprover/lean4/pull/14577"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72844"
},
{
"url": "https://www.vulncheck.com/advisories/lean-4-before-kernel-type-checking-bypass"
}
],
"source": {
"defect": [
"9374a790-b0c0-4fd2-b81a-f8cd507dc8a1%40gmail.com"
],
"discovery": "EXTERNAL"
},
"title": "[Bugtraq] CVE-2026-72844: Lean 4 kernel soundness bug \u2014 forging proofs via nested inductive projections (0 = 1 demonstrated)",
"x_gcve": [
{
"recordType": "analysis",
"relationships": [
{
"destId": "CVE-2026-72844",
"type": "related"
}
],
"vulnId": "GCVE-1988-2026-0441",
"x_vulnarchive": {
"archiveUrl": "https://vuln.freearchive.org/archive/item/1d180a8302029b1f56d12aff2ae2936067901f43fe12e67588131da7114d6012",
"automated": true,
"contentSha256": "1d180a8302029b1f56d12aff2ae2936067901f43fe12e67588131da7114d6012",
"evidenceScore": 10,
"messageId": "9374a790-b0c0-4fd2-b81a-f8cd507dc8a1%40gmail.com",
"originalUrl": "https://lists.securityfocus.com/hyperkitty/list/bugtraq@bugtraq.ai/message/5APDW5T3SOY76W62O73OGAX7GDRAIXF2/",
"policy": "vulnarchive-1",
"sourceFormat": "text/html",
"sourcePublishedAt": "2026-11-02T07:29:43Z"
}
},
{
"recordType": "advisory",
"vulnId": "GCVE-1988-2026-0441"
}
]
}
},
"cveMetadata": {
"assignerOrgId": "4e2abfbf-4a2a-4b76-a4e0-d77c18ba156c",
"assignerShortName": "VULNARCHIVE",
"datePublished": "2026-11-02T07:29:43Z",
"dateUpdated": "2026-11-02T07:29:43Z",
"state": "PUBLISHED",
"vulnId": "GCVE-1988-2026-0441"
},
"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.