Amarok... CVE-2009-0136 CNNVD-200901-199

9.3 AV AC AU C I A
发布: 2009-01-16
修订: 2018-10-11

Amarok是Linux/Unix平台下的音乐播放器。 Amarok在解析畸形的Audible数字音频文件时存在多个整数溢出和未检查的内存分配漏洞,远程攻击者可以利用这些漏洞执行任意代码。 以下是amarok-2.0\src\metadata\audible\audibletag.cpp中有漏洞的代码段: [...] 140 bool Audible::Tag::readTag( FILE *fp, char **name, char **value) 141 { 142 quint32 nlen; 143 [1] if ( fread(&nlen, sizeof(nlen), 1, fp) != 1 ) 144 return false; 145 146 nlen = ntohl(nlen); 147 //fprintf(stderr, \"tagname len=\\%x\n\", (unsigned)nlen); 148 [2] *name = new char[nlen+1]; 149 [4] (*name)[nlen] = \'\'\0\'\'; 150 151 quint32 vlen; 152 [5] if ( fread(&vlen, sizeof(vlen), 1, fp) != 1 ) 153 { 154 delete [] *name; 155 *name = 0; 156 return false; 157 } 159 vlen = ntohl(vlen); 160 //fprintf(stderr, \"tag len=\\%x\n\", (unsigned)vlen); 162 [3] if ( fread(*name, nlen, 1, fp) != 1 ) 163 { 164 delete [] *name; 165 *name = 0; 166 return false; 167 } 169 [6] *value = new char[vlen+1]; 170 [8] (*value)[vlen] = \'\'\0\'\'; 171 172 [7] if ( fread(*value, vlen, 1, fp) != 1 ) 173 { 174 delete [] *value; 175 *value = 0; 176...

0%
暂无可用Exp或PoC
当前有3条受影响产品信息