Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for PeerBanHelper by PBH-BTN

    CVE-2026-62362 (GCVE-0-2026-62362)

    Vulnerability from nvd – Published: 2026-10-16 16:43 – Updated: 2026-10-16 16:43
    VLAI
    Title
    PeerBanHelper: SQL injection via ${field} interpolation in MyBatis mapper for analysis endpoint
    Summary
    PeerBanHelper automatically blocks unwanted, leeching, and abnormal BitTorrent peers using customizable and cloud rules. From 5.0.0 until 9.3.15, the /api/statistic/analysis/field endpoint accepts a crafted field query parameter from an authenticated user and passes it to countField or sumField. The mapField() method forwards unrecognized field names without sanitization, so unrecognized field names are interpolated into SQL through ${field} across the SQLite, MySQL, and PostgreSQL mappers. Successful exploitation can read all data in the PeerBanHelper database. This issue is fixed in version 9.3.15.
    CWE
    • CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
    Assigner
    GitHub_M CNA under the mitre root
    CNA scorecard C 72/100 over 7610 records in the last 180 days details
    Impacted products
    Vendor Product Version
    PBH-BTN PeerBanHelper Affected: >= 5.0.0, < 9.3.15
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "product": "PeerBanHelper",
              "vendor": "PBH-BTN",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003e= 5.0.0, \u003c 9.3.15"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "PeerBanHelper automatically blocks unwanted, leeching, and abnormal BitTorrent peers using customizable and cloud rules. From 5.0.0 until 9.3.15, the /api/statistic/analysis/field endpoint accepts a crafted field query parameter from an authenticated user and passes it to countField or sumField. The mapField() method forwards unrecognized field names without sanitization, so unrecognized field names are interpolated into SQL through ${field} across the SQLite, MySQL, and PostgreSQL mappers. Successful exploitation can read all data in the PeerBanHelper database. This issue is fixed in version 9.3.15."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 4.9,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "HIGH",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-89",
                  "description": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-10-16T16:43:52.058Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/PBH-BTN/PeerBanHelper/security/advisories/GHSA-pc89-mfwm-hj9x",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/PBH-BTN/PeerBanHelper/security/advisories/GHSA-pc89-mfwm-hj9x"
            },
            {
              "name": "https://github.com/PBH-BTN/PeerBanHelper/commit/bec34c8b93c6ea3a3bc2ad992aedd41b95cd400a",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/PBH-BTN/PeerBanHelper/commit/bec34c8b93c6ea3a3bc2ad992aedd41b95cd400a"
            },
            {
              "name": "https://github.com/PBH-BTN/PeerBanHelper/releases/tag/v9.3.15",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/PBH-BTN/PeerBanHelper/releases/tag/v9.3.15"
            }
          ],
          "source": {
            "advisory": "GHSA-pc89-mfwm-hj9x",
            "discovery": "UNKNOWN"
          },
          "title": "PeerBanHelper: SQL injection via ${field} interpolation in MyBatis mapper for analysis endpoint"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-62362",
        "datePublished": "2026-10-16T16:43:52.058Z",
        "dateReserved": "2026-07-13T22:04:59.677Z",
        "dateUpdated": "2026-10-16T16:43:52.058Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-62362 (GCVE-0-2026-62362)

    Vulnerability from cvelistv5 – Published: 2026-10-16 16:43 – Updated: 2026-10-16 16:43
    VLAI
    Title
    PeerBanHelper: SQL injection via ${field} interpolation in MyBatis mapper for analysis endpoint
    Summary
    PeerBanHelper automatically blocks unwanted, leeching, and abnormal BitTorrent peers using customizable and cloud rules. From 5.0.0 until 9.3.15, the /api/statistic/analysis/field endpoint accepts a crafted field query parameter from an authenticated user and passes it to countField or sumField. The mapField() method forwards unrecognized field names without sanitization, so unrecognized field names are interpolated into SQL through ${field} across the SQLite, MySQL, and PostgreSQL mappers. Successful exploitation can read all data in the PeerBanHelper database. This issue is fixed in version 9.3.15.
    CWE
    • CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
    Assigner
    GitHub_M CNA under the mitre root
    CNA scorecard C 72/100 over 7610 records in the last 180 days details
    Impacted products
    Vendor Product Version
    PBH-BTN PeerBanHelper Affected: >= 5.0.0, < 9.3.15
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "product": "PeerBanHelper",
              "vendor": "PBH-BTN",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003e= 5.0.0, \u003c 9.3.15"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "PeerBanHelper automatically blocks unwanted, leeching, and abnormal BitTorrent peers using customizable and cloud rules. From 5.0.0 until 9.3.15, the /api/statistic/analysis/field endpoint accepts a crafted field query parameter from an authenticated user and passes it to countField or sumField. The mapField() method forwards unrecognized field names without sanitization, so unrecognized field names are interpolated into SQL through ${field} across the SQLite, MySQL, and PostgreSQL mappers. Successful exploitation can read all data in the PeerBanHelper database. This issue is fixed in version 9.3.15."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 4.9,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "HIGH",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-89",
                  "description": "CWE-89: Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-10-16T16:43:52.058Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/PBH-BTN/PeerBanHelper/security/advisories/GHSA-pc89-mfwm-hj9x",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/PBH-BTN/PeerBanHelper/security/advisories/GHSA-pc89-mfwm-hj9x"
            },
            {
              "name": "https://github.com/PBH-BTN/PeerBanHelper/commit/bec34c8b93c6ea3a3bc2ad992aedd41b95cd400a",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/PBH-BTN/PeerBanHelper/commit/bec34c8b93c6ea3a3bc2ad992aedd41b95cd400a"
            },
            {
              "name": "https://github.com/PBH-BTN/PeerBanHelper/releases/tag/v9.3.15",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/PBH-BTN/PeerBanHelper/releases/tag/v9.3.15"
            }
          ],
          "source": {
            "advisory": "GHSA-pc89-mfwm-hj9x",
            "discovery": "UNKNOWN"
          },
          "title": "PeerBanHelper: SQL injection via ${field} interpolation in MyBatis mapper for analysis endpoint"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2026-62362",
        "datePublished": "2026-10-16T16:43:52.058Z",
        "dateReserved": "2026-07-13T22:04:59.677Z",
        "dateUpdated": "2026-10-16T16:43:52.058Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }