GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

GSD-2022-1811

Vulnerability from gsd - Updated: 2022-05-24 00:00
Details
Unrestricted file upload allowed the attacker to manipulate the request and bypass the protection of HTML files using a text file. Stored XSS may be obtained.
Aliases

{
  "GSD": {
    "alias": "CVE-2022-1811",
    "description": "Unrestricted Upload of File with Dangerous Type in GitHub repository publify/publify prior to 9.2.9.",
    "id": "GSD-2022-1811"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "publify_core",
            "purl": "pkg:gem/publify_core"
          }
        }
      ],
      "aliases": [
        "CVE-2022-1811",
        "GHSA-3hwx-c6cp-q972"
      ],
      "details": "Unrestricted file upload allowed the attacker to manipulate the request\nand bypass the protection of HTML files using a text file. Stored XSS may be obtained.\n",
      "id": "GSD-2022-1811",
      "modified": "2022-05-24T00:00:00.000Z",
      "published": "2022-05-24T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/publify/publify/commit/0fb6b027fbaf17f6a6551f2148482a03eac12927"
        },
        {
          "type": "WEB",
          "url": "https://huntr.dev/bounties/4d97f665-c9f1-4c38-b774-692255a7c44c"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 9.1,
          "type": "CVSS_V3"
        }
      ],
      "summary": "Cross site scripting in publify"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@huntr.dev",
        "ID": "CVE-2022-1811",
        "STATE": "PUBLIC",
        "TITLE": "Unrestricted Upload of File with Dangerous Type in publify/publify"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "publify/publify",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c",
                          "version_value": "9.2.9"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "publify"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Unrestricted Upload of File with Dangerous Type in GitHub repository publify/publify prior to 9.2.9."
          }
        ]
      },
      "impact": {
        "cvss": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "LOW",
          "baseScore": 9.1,
          "baseSeverity": "CRITICAL",
          "confidentialityImpact": "LOW",
          "integrityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "scope": "CHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:L",
          "version": "3.0"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-434 Unrestricted Upload of File with Dangerous Type"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://huntr.dev/bounties/4d97f665-c9f1-4c38-b774-692255a7c44c",
            "refsource": "CONFIRM",
            "url": "https://huntr.dev/bounties/4d97f665-c9f1-4c38-b774-692255a7c44c"
          },
          {
            "name": "https://github.com/publify/publify/commit/0fb6b027fbaf17f6a6551f2148482a03eac12927",
            "refsource": "MISC",
            "url": "https://github.com/publify/publify/commit/0fb6b027fbaf17f6a6551f2148482a03eac12927"
          }
        ]
      },
      "source": {
        "advisory": "4d97f665-c9f1-4c38-b774-692255a7c44c",
        "discovery": "EXTERNAL"
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2022-1811",
      "cvss_v3": 9.1,
      "date": "2022-05-24",
      "description": "Unrestricted file upload allowed the attacker to manipulate the request\nand bypass the protection of HTML files using a text file. Stored XSS may be obtained.\n",
      "gem": "publify_core",
      "ghsa": "3hwx-c6cp-q972",
      "patched_versions": [
        "\u003e= 9.2.9"
      ],
      "related": {
        "url": [
          "https://huntr.dev/bounties/4d97f665-c9f1-4c38-b774-692255a7c44c"
        ]
      },
      "title": "Cross site scripting in publify",
      "url": "https://github.com/publify/publify/commit/0fb6b027fbaf17f6a6551f2148482a03eac12927"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c9.2.9",
          "affected_versions": "All versions before 9.2.9",
          "cvss_v2": "AV:N/AC:M/Au:S/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-434",
            "CWE-937"
          ],
          "date": "2023-06-27",
          "description": "Unrestricted Upload of File with Dangerous Type in GitHub repository publify/publify prior to 9.2.9.",
          "fixed_versions": [
            "9.2.9"
          ],
          "identifier": "CVE-2022-1811",
          "identifiers": [
            "CVE-2022-1811"
          ],
          "not_impacted": "All versions starting from 9.2.9",
          "package_slug": "gem/publify_core",
          "pubdate": "2022-05-23",
          "solution": "Upgrade to version 9.2.9 or above.",
          "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-1811",
            "https://github.com/publify/publify/commit/0fb6b027fbaf17f6a6551f2148482a03eac12927",
            "https://huntr.dev/bounties/4d97f665-c9f1-4c38-b774-692255a7c44c"
          ],
          "uuid": "3cd9a242-2e4a-4449-bdfc-05eb4ef77f87"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:publify_project:publify:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "9.2.9",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@huntr.dev",
          "ID": "CVE-2022-1811"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Unrestricted Upload of File with Dangerous Type in GitHub repository publify/publify prior to 9.2.9."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-434"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/publify/publify/commit/0fb6b027fbaf17f6a6551f2148482a03eac12927",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/publify/publify/commit/0fb6b027fbaf17f6a6551f2148482a03eac12927"
            },
            {
              "name": "https://huntr.dev/bounties/4d97f665-c9f1-4c38-b774-692255a7c44c",
              "refsource": "CONFIRM",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://huntr.dev/bounties/4d97f665-c9f1-4c38-b774-692255a7c44c"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "SINGLE",
            "availabilityImpact": "NONE",
            "baseScore": 3.5,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:S/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 6.8,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "LOW",
          "userInteractionRequired": true
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 5.4,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 2.3,
          "impactScore": 2.7
        }
      },
      "lastModifiedDate": "2023-06-27T16:14Z",
      "publishedDate": "2022-05-23T16:16Z"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…