mitre / mitre/secure-coding-case-studies

Argument Injection in Unix CLI Tools : A Case Study of Tar (CVE-2016-6321)

Open
#63 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
11
Forks
45
PR merge metrics
No merged PRs in 30d

Description

Hi @david-a-wheeler

We propose to write a secure coding case study on the tar argument injection vulnerability (CVE-2016-6321).

Description:
Directory traversal vulnerability in the safer_name_suffix function in GNU tar 1.14 through 1.29 might allow remote attackers to bypass an intended protection mechanism and write to arbitrary files via vectors related to improper sanitization of the file_name parameter, aka POINTYFEATHER.

This vulnerability arises when tar interprets attacker controlled filenames as command-line options, allowing arbitrary command execution when scripts use wildcard expansion (e.g., *) on untrusted directories.

Our case study will focus on root cause, exploitation scenarios and systemic prevention strategies. Please let us know if we could proceed with this vulnerability.

Group members:
Bavithirai Vasugui Mathiazhagan
Aadhya Enllawar

Thank you !

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No target file, template, or test is named. Review the repository’s existing case studies first, then prepare the tar CVE-2016-6321 case study covering the stated root cause, exploitation scenarios, and systemic prevention strategies; done means the case study is complete and consistent with the project’s format.

Written by the indexing model from the issue text.

Assessment

Domain
documentation, security
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.