CVE-2023-1754: Thorsten/phpmyfaq PhpMyFAQ Vulnerable To Improper Input Vulnerability

MODERATE
Advisory Identifier: GHSA-gvg8-r8w2-9gfj
CVSS 4.7
CWE-20 CWE-79
Published
Advisory Summary

CVE-2023-1754 is a MODERATE (CVSS 4.7) phpmyfaq vulnerable to improper input vulnerability (CWE-20: Improper Input Validation) affecting Thorsten/phpmyfaq libraries in the Packagist ecosystem. The issue involves phpmyfaq vulnerable to improper input validation. Remediation is available by upgrading affected packages to version 3.1.12.

CVE-2023-1754 at a Glance

CVE Identifier CVE-2023-1754
GHSA Identifier GHSA-gvg8-r8w2-9gfj
Severity MODERATE
CVSS v3.1 Base Score 4.7
CWE Classification CWE-20: Improper Input Validation
Affected Product Thorsten/phpmyfaq
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 4.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2023-1754

To remediate this vulnerability, upgrade all affected Thorsten/phpmyfaq dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

thorsten/phpmyfaq fixed: 3.1.12
Upgrade thorsten/phpmyfaq to 3.1.12
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for thorsten/phpmyfaq

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-1754, inspect your project dependencies for Thorsten/phpmyfaq:

inspect dependencies for thorsten/phpmyfaq

Analyze the terminal output to locate any version of Thorsten/phpmyfaq in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.12), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-20: Improper Input Validation, where 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. In Thorsten/phpmyfaq, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Improper Neutralization of Input During Web Page Generation in phpMyFAQ

CVE-2023-1754 Affected Thorsten/phpmyfaq Versions

1 component(s)
Fixed Versions:
3.1.12
Product / Package Ecosystem Affected Versions Fixed Version
thorsten/phpmyfaq
Packagist
< 3.1.12
3.1.12

References

Frequently Asked Questions

What is CVE-2023-1754?
CVE-2023-1754 is a security vulnerability in Thorsten/phpmyfaq involving phpMyFAQ vulnerable to improper input validation under CWE-20: Improper Input Validation.
Which Thorsten/phpmyfaq versions are affected?
Affected versions include releases prior to 3.1.12 across affected packages: thorsten/phpmyfaq.
What version fixes CVE-2023-1754?
Upgrading to 3.1.12 (or the latest patched release for your respective branch) resolves the vulnerability.
Is thorsten/phpmyfaq affected?
Yes, thorsten/phpmyfaq is affected in releases prior to 3.1.12. Upgrade your dependency to 3.1.12 or later.
What is the CVSS score of CVE-2023-1754?
CVE-2023-1754 has a CVSS v3.1 base score of 4.7 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2023-1754?
CVE-2023-1754 is classified under CWE-20: Improper Input Validation (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.).
How can I check Packagist dependencies for CVE-2023-1754?
Run the dependency tree command: 'inspect dependencies for thorsten/phpmyfaq'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-gvg8-r8w2-9gfj",
  "modified" : "2023-04-26T20:34:32Z",
  "published" : "2023-03-31T03:30:31Z",
  "aliases" : [ "CVE-2023-1754" ],
  "summary" : "phpMyFAQ vulnerable to improper input validation",
  "details" : "Improper Neutralization of Input During Web Page Generation in phpMyFAQ",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "thorsten/phpmyfaq"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.1.12"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-1754"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/thorsten/phpmyfaq/commit/d773df925cb74e874527458beed1f66f966ec491"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/thorsten/phpmyfaq"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.dev/bounties/529f2361-eb2e-476f-b7ef-4e561a712e28"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-03-31T22:43:17Z",
    "nvd_published_at" : "2023-03-31T01:15:00Z"
  }
}