exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Ninka License Identification Tool Insufficient Escaping

Ninka License Identification Tool Insufficient Escaping
Posted Apr 2, 2017
Authored by Dirk-Willem van Gulik

The Ninka License identification tool suffers from insufficient escaping of external input.

tags | advisory
advisories | CVE-2017-7239
SHA-256 | 011d43ec94139a9d571c81a157eb2c3e144297c300453b08a83a27b3f01ae61b

Ninka License Identification Tool Insufficient Escaping

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


ninka license identification tool
insufficient escaping of external input

CVE-2017-7239 / CVSS 9.3
1.06

The ninka license identification tool does not properly escape
special characters in the files it encounters - such as the a&a.

In case of an alien code bases; or a code base that is brought in for
examination - a third party may doctor the file names as to cause
a certain result of the license compliance scan. Or the attacker may
adversely affect the ninka user their environment (e.g. an automated
continuous integration setup) by causing it to hang.

This can then lead to unauthorised disclosure of information,
unreliable compliance information or a denial of services.

Versions affected:
- - ------------------
All versions up to and including version 1.3.

Resolution:
- - -----------
Upgrade to version 1.3.1 or later - available on
https://github.com/dmgerman/ninka. As of commit
75fb67c36a1c4dcec6b9b2c4e7102a1000066c4f the tool
give an error when 'illegal characters' are detected.

Mitigations and work arounds:
- - -----------------------------
Test the filenames passed for obvious issues. Given that ninka is
generally only applied to (source)code - a regex matching just
the alphanumerics and a few glyphs such as the dash and dot
can usually be applied.

Credits and timeline
- - --------------------
The flaw was found and reported by Dirk-Willem van Gulik <dirkx
@ webweaving.org) on the 12 of March 2017. D.M. German <dmg
@ turingmachine.org > fixed the issue on the 27th of March 2017.

2017-01-28 vulnerability found, reported to authors.
2017-03-21 sample found in alien codebase.
2017-03-23 reported to more recent email addresses of authors .
2017-03-26 reported to the authors by phone.
2017-03-27 CVE issued by mitre. fix created by author and
pushed to github.
2017-04-01 Full disclosure.

Common Vulnerability Scoring (Version 3) and vector
- - ---------------------------------------------------
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:H/RC:R/CR:L/IR
:L/AR:L/MAV:L/MAC:L/MPR:N/MUI:N/MS:U/MC:H/MI:H/MA:H

CVSS Base Score 9.3
CVSS Temporal Score 9.0
CVSS Environmental Score 6.4

1.06 / : 2717 $
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0

iEYEARECAAYFAljhGecACgkQ/W+IxiHQpxtywwCePUZgUJJ2Z3ly9Bfxk/EOz/aG
PQ8AoIF6Bc6cRV8862314Lf3Eod6Om0g
=AwPW
-----END PGP SIGNATURE-----
Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    38 Files
  • 24
    Sep 24th
    65 Files
  • 25
    Sep 25th
    24 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close