CVE-2023-22456
Last modified
CVE-2023-22456 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. ViewVC, a browser interface for CVS and Subversion version control repositories, as a cross-site scripting vulnerability that affects versions prior to 1.2.2 and 1.1.29. The impact of this vulnerability is mitigated by the need for an attacker to have commit privileges to a Subversion repository exposed by an otherwise trusted ViewVC instance. EPSS estimates a 0.69% chance of exploitation in the next 30 days.
Description
ViewVC, a browser interface for CVS and Subversion version control repositories, as a cross-site scripting vulnerability that affects versions prior to 1.2.2 and 1.1.29. The impact of this vulnerability is mitigated by the need for an attacker to have commit privileges to a Subversion repository exposed by an otherwise trusted ViewVC instance. The attack vector involves files with unsafe names (names that, when embedded into an HTML stream, would cause the browser to run unwanted code), which themselves can be challenging to create. Users should update to at least version 1.2.2 (if they are using a 1.2.x version of ViewVC) or 1.1.29 (if they are using a 1.1.x version). ViewVC 1.0.x is no longer supported, so users of that release lineage should implement a workaround. Users can edit their ViewVC EZT view templates to manually HTML-escape changed paths during rendering. Locate in your template set's `revision.ezt` file references to those changed paths, and wrap them with `[format "html"]` and `[end]`. For most users, that means that references to `[changes.path]` will become `[format "html"][changes.path][end]`. (This workaround should be reverted after upgrading to a patched version of ViewVC, else changed path names will be doubly escaped.)
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Viewvc | Viewvc | < 1.1.29 |
| Viewvc | Viewvc | >= 1.2.0, < 1.2.2 |
References
- https://github.com/viewvc/viewvc/issues/311Issue Tracking, Third Party Advisory
- https://github.com/viewvc/viewvc/releases/tag/1.1.29Patch, Third Party Advisory
- https://github.com/viewvc/viewvc/releases/tag/1.2.2Patch, Third Party Advisory
- https://github.com/viewvc/viewvc/security/advisories/GHSA-j4mx-f97j-gc5gThird Party Advisory
- https://github.com/viewvc/viewvc/issues/311Issue Tracking, Third Party Advisory
- https://github.com/viewvc/viewvc/releases/tag/1.1.29Patch, Third Party Advisory
- https://github.com/viewvc/viewvc/releases/tag/1.2.2Patch, Third Party Advisory
- https://github.com/viewvc/viewvc/security/advisories/GHSA-j4mx-f97j-gc5gThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-22456?
How severe is CVE-2023-22456?
How do I fix CVE-2023-22456?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-22450 In Advantech WebAccss/SCADA v9.1.3 and prior, there is an…7.2
- CVE-2023-22451Kiwi TCMS is an open source test management system. In versi…8.8
- CVE-2023-22452kenny2automate is a Discord bot. In the web interface for se…6.5
- CVE-2023-22453Discourse is an option source discussion platform. Prior to …5.3
- CVE-2023-22454Discourse is an option source discussion platform. Prior to …6.1
- CVE-2023-22455Discourse is an option source discussion platform. Prior to …6.1
- CVE-2023-22457CKEditor Integration UI adds support for editing wiki pages …8.8
- CVE-2023-22458Redis is an in-memory database that persists on disk. Authen…5.5
- CVE-2023-2246A vulnerability has been found in SourceCodester Online Pizz…9.8
- CVE-2023-22460go-ipld-prime is an implementation of the InterPlanetary Lin…7.5
- CVE-2023-22461The `sanitize-svg` package, a small SVG sanitizer to prevent…6.1
- CVE-2023-22462Grafana is an open-source platform for monitoring and observ…5.4
Are you affected by CVE-2023-22456?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
