Common Weakness Enumeration

CWE-94

Allowed-with-Review

Improper 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.

8381 vulnerabilities reference this CWE, most recent first.

GHSA-4839-8MXX-4XR9

Vulnerability from github – Published: 2022-05-13 01:33 – Updated: 2022-05-13 01:33
VLAI
Details

Ansible Tower through version 3.2.3 has a vulnerability that allows users only with access to define variables for a job template to execute arbitrary code on the Tower server.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2018-1104"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2018-05-02T19:29:00Z",
    "severity": "HIGH"
  },
  "details": "Ansible Tower through version 3.2.3 has a vulnerability that allows users only with access to define variables for a job template to execute arbitrary code on the Tower server.",
  "id": "GHSA-4839-8mxx-4xr9",
  "modified": "2022-05-13T01:33:32Z",
  "published": "2022-05-13T01:33:32Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1104"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/errata/RHSA-2018:1328"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/errata/RHSA-2018:1972"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/security/cve/cve-2018-1104"
    },
    {
      "type": "WEB",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1565862"
    },
    {
      "type": "WEB",
      "url": "https://www.ansible.com/security"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-4842-R7QR-QMJQ

Vulnerability from github – Published: 2022-05-01 07:13 – Updated: 2022-05-01 07:13
VLAI
Details

Unspecified vulnerability in PowerPoint in Microsoft Office 2000, Office 2002, Office 2003, Office 2004 for Mac, and Office v.X for Mac allows user-assisted attackers to execute arbitrary code via a crafted Data record in a PPT file, a different vulnerability than CVE-2006-3435 and CVE-2006-4694.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2006-3876"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2006-10-10T21:07:00Z",
    "severity": "HIGH"
  },
  "details": "Unspecified vulnerability in PowerPoint in Microsoft Office 2000, Office 2002, Office 2003, Office 2004 for Mac, and Office v.X for Mac allows user-assisted attackers to execute arbitrary code via a crafted Data record in a PPT file, a different vulnerability than CVE-2006-3435 and CVE-2006-4694.",
  "id": "GHSA-4842-r7qr-qmjq",
  "modified": "2022-05-01T07:13:18Z",
  "published": "2022-05-01T07:13:18Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2006-3876"
    },
    {
      "type": "WEB",
      "url": "https://docs.microsoft.com/en-us/security-updates/securitybulletins/2006/ms06-058"
    },
    {
      "type": "WEB",
      "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A453"
    },
    {
      "type": "WEB",
      "url": "http://securitytracker.com/id?1017030"
    },
    {
      "type": "WEB",
      "url": "http://www.kb.cert.org/vuls/id/938196"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/29447"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/449179/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/20322"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2006/3977"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-484F-743F-6JX2

Vulnerability from github – Published: 2019-12-12 22:50 – Updated: 2022-07-05 18:07
VLAI
Summary
Object injection in cookie driver in phpfastcache
Details

Impact

An possible object injection has been discovered in cookie driver prior 5.0.13 versions (of 5.x releases).

Patches

The issue has been addressed by enforcing JSON conversion when deserializing

Workarounds

If you can't fix it, use another driver such as "Files" (Filesystem)

References

Fixing release: https://github.com/PHPSocialNetwork/phpfastcache/releases/tag/5.0.13

For more information

If you have any questions or comments about this advisory: * Open an issue in the issue tracker * Email us at security@geolim4.com

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "phpfastcache/phpfastcache"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.0.0"
            },
            {
              "fixed": "5.0.13"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2019-16774"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T20:57:47Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
  },
  "details": "### Impact\nAn possible object injection has been discovered in cookie driver prior 5.0.13 versions (of 5.x releases).\n\n### Patches\nThe issue has been addressed by enforcing JSON conversion when deserializing\n\n### Workarounds\nIf you can\u0027t fix it, use another driver such as \"Files\" (Filesystem)\n\n### References\nFixing release: https://github.com/PHPSocialNetwork/phpfastcache/releases/tag/5.0.13\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [the issue tracker](https://github.com/PHPSocialNetwork/phpfastcache/issues)\n* Email us at [security@geolim4.com](mailto:security@geolim4.com)\n",
  "id": "GHSA-484f-743f-6jx2",
  "modified": "2022-07-05T18:07:34Z",
  "published": "2019-12-12T22:50:20Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/PHPSocialNetwork/phpfastcache/security/advisories/GHSA-484f-743f-6jx2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-16774"
    },
    {
      "type": "WEB",
      "url": "https://github.com/PHPSocialNetwork/phpfastcache/commit/c4527205cb7a402b595790c74310791f5b04a1a4"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/PHPSocialNetwork/phpfastcache"
    },
    {
      "type": "WEB",
      "url": "https://github.com/PHPSocialNetwork/phpfastcache/releases/tag/5.0.13"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-484f-743f-6jx2"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Object injection in cookie driver in phpfastcache"
}

GHSA-4868-5X3W-95Q3

Vulnerability from github – Published: 2022-05-01 18:22 – Updated: 2022-05-01 18:22
VLAI
Details

Multiple PHP remote file inclusion vulnerabilities in PHPCentral Poll Script 1.0 allow remote attackers to execute arbitrary PHP code via a URL in the _SERVER[DOCUMENT_ROOT] parameter in (1) poll.php and (2) pollarchive.php. NOTE: a reliable third party states that this issue is resultant from a variable extraction error in functions.php.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2007-4339"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2007-08-14T18:17:00Z",
    "severity": "HIGH"
  },
  "details": "Multiple PHP remote file inclusion vulnerabilities in PHPCentral Poll Script 1.0 allow remote attackers to execute arbitrary PHP code via a URL in the _SERVER[DOCUMENT_ROOT] parameter in (1) poll.php and (2) pollarchive.php.  NOTE: a reliable third party states that this issue is resultant from a variable extraction error in functions.php.",
  "id": "GHSA-4868-5x3w-95q3",
  "modified": "2022-05-01T18:22:43Z",
  "published": "2022-05-01T18:22:43Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2007-4339"
    },
    {
      "type": "WEB",
      "url": "http://osvdb.org/36418"
    },
    {
      "type": "WEB",
      "url": "http://osvdb.org/36419"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/26434"
    },
    {
      "type": "WEB",
      "url": "http://securityreason.com/securityalert/3008"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/476261/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/archive/1/477179/100/0/threaded"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2007/2878"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-486J-H7Q6-5J57

Vulnerability from github – Published: 2022-05-02 03:13 – Updated: 2022-05-02 03:13
VLAI
Details

Microsoft Office PowerPoint 2000 SP3, 2002 SP3, and 2003 SP3 allows remote attackers to execute arbitrary code via crafted sound data in a file that uses a PowerPoint 4.0 native file format, leading to a "pointer overwrite" and memory corruption, aka "Legacy File Format Vulnerability," a different vulnerability than CVE-2009-0223, CVE-2009-0226, CVE-2009-0227, and CVE-2009-1137.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2009-0222"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2009-05-12T22:30:00Z",
    "severity": "HIGH"
  },
  "details": "Microsoft Office PowerPoint 2000 SP3, 2002 SP3, and 2003 SP3 allows remote attackers to execute arbitrary code via crafted sound data in a file that uses a PowerPoint 4.0 native file format, leading to a \"pointer overwrite\" and memory corruption, aka \"Legacy File Format Vulnerability,\" a different vulnerability than CVE-2009-0223, CVE-2009-0226, CVE-2009-0227, and CVE-2009-1137.",
  "id": "GHSA-486j-h7q6-5j57",
  "modified": "2022-05-02T03:13:41Z",
  "published": "2022-05-02T03:13:41Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2009-0222"
    },
    {
      "type": "WEB",
      "url": "https://docs.microsoft.com/en-us/security-updates/securitybulletins/2009/ms09-017"
    },
    {
      "type": "WEB",
      "url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6143"
    },
    {
      "type": "WEB",
      "url": "http://osvdb.org/54382"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/32428"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/34831"
    },
    {
      "type": "WEB",
      "url": "http://www.securitytracker.com/id?1022205"
    },
    {
      "type": "WEB",
      "url": "http://www.us-cert.gov/cas/techalerts/TA09-132A.html"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2009/1290"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/exploits/Microsoft_PowerPoint_Memory_Corruption_Code_Execution_Exploit_MS09_017_1290124.php"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/exploits/Microsoft_PowerPoint_Pointer_Overwrite_Code_Execution_Exploit_MS09_017_1290123.php"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-487P-3R3P-HRCP

Vulnerability from github – Published: 2022-05-02 03:28 – Updated: 2022-05-02 03:28
VLAI
Details

Multiple PHP remote file inclusion vulnerabilities in the InterJoomla ArtForms (com_artforms) component 2.1b7 for Joomla! allow remote attackers to execute arbitrary PHP code via a URL in the mosConfig_absolute_path parameter to (1) imgcaptcha.php or (2) mp3captcha.php in assets/captcha/includes/captchaform/, or (3) assets/captcha/includes/captchatalk/swfmovie.php.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2009-1822"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2009-05-29T16:30:00Z",
    "severity": "HIGH"
  },
  "details": "Multiple PHP remote file inclusion vulnerabilities in the InterJoomla ArtForms (com_artforms) component 2.1b7 for Joomla! allow remote attackers to execute arbitrary PHP code via a URL in the mosConfig_absolute_path parameter to (1) imgcaptcha.php or (2) mp3captcha.php in assets/captcha/includes/captchaform/, or (3) assets/captcha/includes/captchatalk/swfmovie.php.",
  "id": "GHSA-487p-3r3p-hrcp",
  "modified": "2022-05-02T03:28:46Z",
  "published": "2022-05-02T03:28:46Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2009-1822"
    },
    {
      "type": "WEB",
      "url": "https://www.exploit-db.com/exploits/8697"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/34986"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-48G7-3X6R-XFHP

Vulnerability from github – Published: 2025-03-11 20:07 – Updated: 2026-06-06 00:30
VLAI
Summary
Arbitrary Code Execution via Crafted Keras Config for Model Loading
Details

Impact

The Keras Model.load_model function permits arbitrary code execution, even with safe_mode=True, through a manually constructed, malicious .keras archive. By altering the config.json file within the archive, an attacker can specify arbitrary Python modules and functions, along with their arguments, to be loaded and executed during model loading.

Patches

This problem is fixed starting with version 3.9.

Workarounds

Only load models from trusted sources and model archives created with Keras.

References

  • https://www.cve.org/cverecord?id=CVE-2025-1550
  • https://github.com/keras-team/keras/pull/20751
Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "keras"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.0.0"
            },
            {
              "fixed": "3.9.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2025-1550"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-03-11T20:07:32Z",
    "nvd_published_at": null,
    "severity": "HIGH"
  },
  "details": "### Impact\n\nThe Keras `Model.load_model` function permits arbitrary code execution, even with `safe_mode=True`, through a manually constructed, malicious `.keras` archive. By altering the `config.json` file within the archive, an attacker can specify arbitrary Python modules and functions, along with their arguments, to be loaded and executed during model loading.\n\n### Patches\n\nThis problem is fixed starting with version `3.9`.\n\n### Workarounds\n\nOnly load models from trusted sources and model archives created with Keras.\n\n### References\n\n- https://www.cve.org/cverecord?id=CVE-2025-1550\n- https://github.com/keras-team/keras/pull/20751",
  "id": "GHSA-48g7-3x6r-xfhp",
  "modified": "2026-06-06T00:30:36Z",
  "published": "2025-03-11T20:07:32Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/keras-team/keras/security/advisories/GHSA-48g7-3x6r-xfhp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-1550"
    },
    {
      "type": "WEB",
      "url": "https://github.com/keras-team/keras/pull/20751"
    },
    {
      "type": "WEB",
      "url": "https://github.com/keras-team/keras/commit/e67ac8ffd0c883bec68eb65bb52340c7f9d3a903"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/keras-team/keras"
    },
    {
      "type": "WEB",
      "url": "https://github.com/keras-team/keras/releases/tag/v3.9.0"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/keras/PYSEC-2025-122.yaml"
    },
    {
      "type": "WEB",
      "url": "https://towerofhanoi.it/writeups/cve-2025-1550"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Arbitrary Code Execution via Crafted Keras Config for Model Loading"
}

GHSA-48G7-CMC5-V387

Vulnerability from github – Published: 2022-05-01 17:57 – Updated: 2022-05-01 17:57
VLAI
Details

Multiple PHP remote file inclusion vulnerabilities in Kaqoo Auction Software Free Edition allow remote attackers to execute arbitrary PHP code via a URL in the install_root parameter to (1) support.inc.php, (2) function.inc.php, (3) rdal_object.inc.php, (4) rdal_editor.inc.php. (5) login.inc.php, (6) request.inc.php, and (7) categories.inc.php in include/core/; (8) save.inc.php, (9) preview.inc.php, (10) edit_item.inc.php, (11) new_item.inc.php, and (12) item_info.inc.php in include/display/item/; (13) search.inc.php, (14) item_edit.inc.php, (15) register_succsess.inc.php, (16) context_menu.inc.php, (17) item_repost.inc.php, (18) balance.inc.php, (19) featured.inc.php, (20) user.inc.php, (21) buynow.inc.php, (22) install_complete.inc.php, (23) fees_info.inc.php, (24) user_feedback.inc.php, (25) admin_balance.inc.php, (26) activate.inc.php, (27) user_info.inc.php, (28) member.inc.php, (29) add_bid.inc.php, (30) items_filter.inc.php, (31) my_info.inc.php, (32) register.inc.php, (33) leave_feedback.inc.php, and (34) user_auctions.inc.php in include/display/; and (35) design/form.inc.php, (36) processor.inc.php, (37) interfaces.inc.php (38) left_menu.inc.php, (39) login.inc.php, and (40) categories.inc.php in include/.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2007-1790"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2007-03-31T10:19:00Z",
    "severity": "MODERATE"
  },
  "details": "Multiple PHP remote file inclusion vulnerabilities in Kaqoo Auction Software Free Edition allow remote attackers to execute arbitrary PHP code via a URL in the install_root parameter to (1) support.inc.php, (2) function.inc.php, (3) rdal_object.inc.php, (4) rdal_editor.inc.php. (5) login.inc.php, (6) request.inc.php, and (7) categories.inc.php in include/core/; (8) save.inc.php, (9) preview.inc.php, (10) edit_item.inc.php, (11) new_item.inc.php, and (12) item_info.inc.php in include/display/item/; (13) search.inc.php, (14) item_edit.inc.php, (15) register_succsess.inc.php, (16) context_menu.inc.php, (17) item_repost.inc.php, (18) balance.inc.php, (19) featured.inc.php, (20) user.inc.php, (21) buynow.inc.php, (22) install_complete.inc.php, (23) fees_info.inc.php, (24) user_feedback.inc.php, (25) admin_balance.inc.php, (26) activate.inc.php, (27) user_info.inc.php, (28) member.inc.php, (29) add_bid.inc.php, (30) items_filter.inc.php, (31) my_info.inc.php, (32) register.inc.php, (33) leave_feedback.inc.php, and (34) user_auctions.inc.php in include/display/; and (35) design/form.inc.php, (36) processor.inc.php, (37) interfaces.inc.php (38) left_menu.inc.php, (39) login.inc.php, and (40) categories.inc.php in include/.",
  "id": "GHSA-48g7-cmc5-v387",
  "modified": "2022-05-01T17:57:04Z",
  "published": "2022-05-01T17:57:04Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2007-1790"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/33335"
    },
    {
      "type": "WEB",
      "url": "https://www.exploit-db.com/exploits/3607"
    },
    {
      "type": "WEB",
      "url": "http://secunia.com/advisories/24696"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34545"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34546"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34547"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34548"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34549"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34550"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34551"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34552"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34553"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34554"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34555"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34556"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34557"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34558"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34559"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34560"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34561"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34562"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34563"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34564"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34565"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34566"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34567"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34568"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34569"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34570"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34571"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34572"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34573"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34574"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34575"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34576"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34577"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34578"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34579"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34580"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34581"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34582"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34583"
    },
    {
      "type": "WEB",
      "url": "http://www.osvdb.org/34584"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/23211"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2007/1180"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

GHSA-48GJ-6976-QJ95

Vulnerability from github – Published: 2024-02-07 00:30 – Updated: 2024-02-07 00:30
VLAI
Details

A potential attacker with access to the Westermo Lynx device may be able to execute malicious code that could affect the correct functioning of the device.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2023-45735"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2024-02-06T22:16:14Z",
    "severity": "HIGH"
  },
  "details": "\n\n\n\n\nA potential attacker with access to the Westermo Lynx device may be able to execute malicious code that could affect the correct functioning of the device.\n\n\n\n\n\n",
  "id": "GHSA-48gj-6976-qj95",
  "modified": "2024-02-07T00:30:25Z",
  "published": "2024-02-07T00:30:25Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-45735"
    },
    {
      "type": "WEB",
      "url": "https://www.cisa.gov/news-events/ics-advisories/icsa-24-023-04"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}

GHSA-48GQ-3CVF-8XFM

Vulnerability from github – Published: 2022-05-01 18:36 – Updated: 2022-05-01 18:36
VLAI
Details

SQL injection vulnerability in emc.asp in emagiC CMS.Net 4.0 allows remote attackers to execute arbitrary SQL commands via the pageId parameter.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2007-5783"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2007-11-01T16:46:00Z",
    "severity": "HIGH"
  },
  "details": "SQL injection vulnerability in emc.asp in emagiC CMS.Net 4.0 allows remote attackers to execute arbitrary SQL commands via the pageId parameter.",
  "id": "GHSA-48gq-3cvf-8xfm",
  "modified": "2022-05-01T18:36:39Z",
  "published": "2022-05-01T18:36:39Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2007-5783"
    },
    {
      "type": "WEB",
      "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/38119"
    },
    {
      "type": "WEB",
      "url": "https://www.exploit-db.com/exploits/4578"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/26229"
    },
    {
      "type": "WEB",
      "url": "http://www.vupen.com/english/advisories/2007/3642"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}

Mitigation
Architecture and Design

Strategy: Refactoring

Refactor your program so that you do not have to dynamically generate code.

Mitigation
Architecture and Design
  • 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
Implementation

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
Testing

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
Operation

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
Operation

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
Implementation

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.