Grade falsification via unfiltered ANSI escape sequences
Published Jan 13, 2023 · Updated Aug 6, 2024
Escape-sequence injection in gitlearn allows remote authenticated users to falsify grades by placing ANSI control codes in grade files. The getGrade and getOutOf functions in scripts/config.sh print grade-file fields without removing control characters, so a terminal interprets embedded ANSI sequences instead of displaying literal input. Access to modify a grade file is required; the demonstrated attack changes the grader's terminal display and can misrepresent assignment scores.
Summary
What happened
Escape-sequence injection in gitlearn allows remote authenticated users to falsify grades by placing ANSI control codes in grade files. The getGrade and getOutOf functions in scripts/config.sh print grade-file fields without removing control characters, so a terminal interprets embedded ANSI sequences instead of displaying literal input. Access to modify a grade file is required; the demonstrated attack changes the grader's terminal display and can misrepresent assignment scores.
The record
- CVE
- CVE-2015-10040
- Published
- Jan 13, 2023
- Updated
- Aug 6, 2024
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-116, CWE-74, T1565.001
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 10, 2015Exploitation reportedGrade-display manipulation demonstrated upstream
- Jan 13, 2023CVE publishedPublication date reported by the CVE source.
- Aug 6, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- ANSI escape-sequence grade-display proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- Grade-display manipulation demonstrated upstreamreported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo