ProFTPD before 1.3.5e and 1.3.6 before 1.3.6rc5 controls whether the home directory of a user could contain a symbolic link through the AllowChrootSymlinks configuration option, but checks only the last path component when enforcing AllowChrootSymlinks. Attackers with local access could bypass the AllowChrootSymlinks control by replacing a path component (other than the last one) with a symbolic link. The threat model includes an attacker who is not granted full filesystem access by a hosting provider, but can reconfigure the home directory of an FTP user.
[
{
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"59590892394869156023812715275342572760",
"270386661161684928713681849091493785458",
"198787703278867517531918267294785723015",
"208920352700314283701362979671730391202",
"146578314306666417094527976238207015727",
"298428603847323147941021401075162180996",
"61822573162059068004868197233857662159",
"188890963132065134098107933039954828199",
"250839359992664586314843329620347729784",
"323239611206853208171846019450489718947",
"287588130334373726795145698050641377492",
"137875203618510821690402191531148384663",
"287913322549270122854244161650935339067",
"184005695843898752196320072161682181493",
"171716236844954466234065946424506747236",
"198914642754053393492138039271949945751",
"254170595138499013960913661538959688777",
"298953937012080739100419252459936484568",
"53732683892044204321610777113302028805",
"329986234801673316691730963565413513382",
"114887498723556956325107821221188505643",
"137675263573223038146825489290027861793",
"59185781030408566358554137170749909691",
"58635136762631682640194131941431873114"
]
},
"signature_type": "Line",
"id": "CVE-2017-7418-3f92402e",
"target": {
"file": "modules/mod_auth.c"
},
"source": "https://github.com/proftpd/proftpd/commit/ecff21e0d0e84f35c299ef91d7fda088e516d4ed",
"deprecated": false
},
{
"signature_version": "v1",
"digest": {
"length": 1817.0,
"function_hash": "213520693192006226101264800265476806204"
},
"signature_type": "Function",
"id": "CVE-2017-7418-8bb34baa",
"target": {
"file": "modules/mod_auth.c",
"function": "get_default_root"
},
"source": "https://github.com/proftpd/proftpd/commit/ecff21e0d0e84f35c299ef91d7fda088e516d4ed",
"deprecated": false
}
]