SQL injection vulnerability in the Call Detail Record Postgres logging engine (cdrpgsql) in Asterisk 1.4.x before 1.4.15, 1.2.x before 1.2.25, B.x before B.2.3.4, and C.x before C.1.0-beta6 allows remote authenticated users to execute arbitrary SQL commands via (1) ANI and (2) DNIS arguments.
pamldap in nssldap on Red Hat Enterprise Linux 4, Fedora Core 3 and earlier, and possibly other distributions does not return an error condition when an LDAP directory server responds with a PasswordPolicyResponse control response, which causes the pamauthenticate function to return a success code even if authentication has failed, as originally reported for xscreensaver.
Eval injection vulnerability in bvhimport.py in Blender 2.36 allows attackers to execute arbitrary Python code via a hierarchy element in a .bvh file, which is supplied to an eval function call.
Stack-based buffer overflow in the HTrjis function in Lynx 2.8.6 and earlier allows remote NNTP servers to execute arbitrary code via certain article headers containing Asian characters that cause Lynx to add extra escape (ESC) characters.
Double free vulnerability in the krb5recvauth function in MIT Kerberos 5 (krb5) 1.4.1 and earlier allows remote attackers to execute arbitrary code via certain error conditions.
Race condition in cpio 2.6 and earlier allows local users to modify permissions of arbitrary files via a hard link attack on a file while it is being decompressed, whose permissions are changed by cpio after the decompression is complete.
bzip2 allows remote attackers to cause a denial of service (hard drive consumption) via a crafted bzip2 file that causes an infinite loop (a.k.a "decompression bomb").
sslenginekernel.c in modssl before 2.8.24, when using "SSLVerifyClient optional" in the global virtual host configuration, does not properly enforce "SSLVerifyClient require" in a per-location context, which allows remote attackers to bypass intended access restrictions.
Off-by-one error in the modssl Certificate Revocation List (CRL) verification callback in Apache, when configured to use a CRL, allows remote attackers to cause a denial of service (child process crash) via a CRL that causes a buffer overflow of one null byte.
Xpdf, as used in products such as gpdf, kpdf, pdftohtml, poppler, teTeX, CUPS, libextractor, and others, allows attackers to cause a denial of service (crash) via a crafted FlateDecode stream that triggers a null dereference.
The CCITTFaxStream::CCITTFaxStream function in Stream.cc for xpdf, gpdf, kpdf, pdftohtml, poppler, teTeX, CUPS, libextractor, and others allows attackers to corrupt the heap via negative or large integers in a CCITTFaxDecode stream, which lead to integer overflows and integer underflows.
Backup Manager (backup-manager) before 0.5.8 creates backup files with world-readable default permissions, which allows local users to obtain sensitive information.
Format string vulnerability in the cursesmsg function in the Ncurses interface (eccurses.c) for Ettercap before 0.7.3 allows remote attackers to execute arbitrary code.
The Apache HTTP server before 1.3.34, and 2.0.x before 2.0.55, when acting as an HTTP proxy, allows remote attackers to poison the web cache, bypass web application firewall protection, and conduct XSS attacks via an HTTP request with both a "Transfer-Encoding: chunked" header and a Content-Length header, which causes Apache to incorrectly handle and forward the body of the request in a way that causes the receiving server to process it as a separate HTTP request, aka "HTTP Request Smuggling."
Eval injection vulnerability in awstats.pl in AWStats 6.4 and earlier, when a URLPlugin is enabled, allows remote attackers to execute arbitrary Perl code via the HTTP Referrer, which is used in a $url parameter that is inserted into an eval function call.
Xpdf, as used in products such as gpdf, kpdf, pdftohtml, poppler, teTeX, CUPS, libextractor, and others, allows attackers to cause a denial of service (infinite loop) via streams that end prematurely, as demonstrated using the (1) CCITTFaxDecode and (2) DCTDecode streams, aka "Infinite CPU spins."
Buffer overflow in Dropbear server before 0.47 allows authenticated users to execute arbitrary code via unspecified inputs that cause insufficient memory to be allocated due to an incorrect expression that does not enforce the proper order of operations.
privilege escalation via dblink (second attempt at fixing issue reported in CVE-2007-3278; the previous patch fixed only some of the functions that expose the hole)
iDefense reported a vulnerability discovered by regenrecht affecting Xorg X server:
DESCRIPTION
Local exploitation of a memory corruption vulnerability in the X.Org X server, as included in various vendors' operating system distributions, could allow an attacker to execute arbitrary code with the privileges of the X server, typically root.
The vulnerable code exists within multiple functions in the XInput extension, and occurs when swapping the byte order of client requests. By claiming to be sending integer data in the opposite byte order of the server, the client can cause the server to swap the byte order of a request. The number of bytes swapped can be controlled by the client, and is not properly validated by the server. This results in the corruption of heap memory located after the client's request data.
The vulnerable code is shown below:
From Xi/chgkmap.c:SProcXChangeDeviceKeyMapping()
87 REQUESTATLEASTSIZE(xChangeDeviceKeyMappingReq);
88 p = (long )&stuff[1];
89 count = stuff->keyCodes stuff->keySymsPerKeyCode;
90 for (i = 0; i < count; i++) {
91 swapl(p, n);
92 p++;
93 }
On line 89, the count value is calculated by multiplying two values taken directly from the client request. The for loop then proceeds to swap the byte order of the request data, and eventually of other heap memory as well.
Duplicate vulnerabilities are also found in the following functions:
Xi/chgprop.c, SProcXChangeDeviceDontPropagateList()
Xi/grabdev.c, SProcXGrabDevice()
Xi/grabdevb.c, SProcXGrabDeviceButton()
Xi/grabdevk.c, SProcXGrabDeviceKey()
Xi/selectev.c, SProcXSelectExtensionEvent()
Xi/sendexev.c, SProcXSendExtensionEvent()
ANALYSIS
Exploitation allows an attacker to execute arbitrary code with root privileges. In order to exploit this vulnerability, an attacker must be able to send commands to an affected X server. This typically requires access to the console or access to the same account as a user who is on the console. One method of gaining the required access is to remotely exploit a vulnerability in, for example, a graphical web browser. This would then allow an attacker to exploit this vulnerability and elevate their privileges to root.
If an X Server is configured to listen for TCP based client connections, and a client is granted access to create sessions (via the xhosts file), then the vulnerability can be exploited remotely.
WORKAROUND
iDefense is currently unaware of any workarounds for this issue. The XInput extension is normally compiled into the X Server; as such, it's not possible to disable it from being loaded in the configuration file.
Buffer overflow in the polymorphic opcode support in the Regular Expression Engine (regcomp.c) in Perl 5.8 allows context-dependent attackers to execute arbitrary code by switching from byte to Unicode (UTF) characters in a regular expression.
The regular expression parser in TCL before 8.4.17, as used in PostgreSQL 8.2 before 8.2.6, 8.1 before 8.1.11, 8.0 before 8.0.15, and 7.4 before 7.4.19, allows context-dependent attackers to cause a denial of service (infinite loop) via a crafted regular expression.
Description of problem: http://www.secweb.se/en/advisories/php-wordwrap-vulnerability/ http://www.php.net/releases/524.php
Due to an incorrect use of breakcharlen it is possible to force wordwrap to devide by zero or to enter an infinite loop.
Common Vulnerabilities and Exposures assigned an identifier CVE-2007-3278 to the following vulnerability:
PostgreSQL 8.1 and probably later versions, when local trust authentication is enabled and the Database Link library (dblink) is installed, allows remote attackers to access arbitrary accounts and execute arbitrary SQL queries via a dblink host parameter that proxies the connection from 127.0.0.1.
References:
http://www.securityfocus.com/archive/1/archive/1/471541/100/0/threaded http://www.securityfocus.com/archive/1/471644/100/0/threaded http://www.leidecker.info/pgshell/HavingFunWithPostgreSQL.txt http://www.portcullis.co.uk/uplds/whitepapers/HavingFunWithPostgreSQL.pdf
Common Vulnerabilities and Exposures assigned an identifier CVE-2006-4343 to the following vulnerability:
The getserverhello function in the SSLv2 client code in OpenSSL 0.9.7 before 0.9.7l, 0.9.8 before 0.9.8d, and earlier versions allows remote servers to cause a denial of service (client crash) via unknown vectors that trigger a null pointer dereference.
References:
http://www.securityfocus.com/archive/1/archive/1/456546/100/200/threaded http://www.securityfocus.com/archive/1/archive/1/447318/100/0/threaded http://www.securityfocus.com/archive/1/archive/1/447393/100/0/threaded http://lists.grok.org.uk/pipermail/full-disclosure/2006-September/049715.html http://www.milw0rm.com/exploits/4773 http://www.openssl.org/news/secadv20060928.txt http://kolab.org/security/kolab-vendor-notice-11.txt http://openvpn.net/changelog.html http://www.serv-u.com/releasenotes/ http://support.avaya.com/elmodocs2/security/ASA-2006-220.htm http://sourceforge.net/project/shownotes.php?releaseid=461863&groupid=69227 http://docs.info.apple.com/article.html?artnum=304829 http://support.avaya.com/elmodocs2/security/ASA-2006-260.htm http://www.vmware.com/support/esx2/doc/esx-202-200612-patch.html http://www.vmware.com/support/esx21/doc/esx-213-200612-patch.html http://www.vmware.com/support/esx25/doc/esx-253-200612-patch.html http://www.vmware.com/support/esx25/doc/esx-254-200612-patch.html http://www.vmware.com/support/vi3/doc/esx-3069097-patch.html http://www.vmware.com/support/vi3/doc/esx-9986131-patch.html http://www.oracle.com/technology/deploy/security/critical-patch-updates/cpujan2007.html http://www.ingate.com/relnote-452.php http://issues.rpath.com/browse/RPL-613 http://www.xerox.com/downloads/usa/en/c/certESSNetworkXRX07001v1.pdf http://lists.apple.com/archives/security-announce/2006/Nov/msg00001.html http://www.cisco.com/warp/public/707/cisco-sr-20061108-openssl.shtml http://www.cisco.com/en/US/products/hw/contnetw/ps4162/tsdproductssecurityresponse09186a008077af1b.html http://www.debian.org/security/2006/dsa-1185 http://www.debian.org/security/2006/dsa-1195 http://security.freebsd.org/advisories/FreeBSD-SA-06:23.openssl.asc http://security.gentoo.org/glsa/glsa-200610-11.xml http://www.gentoo.org/security/en/glsa/glsa-200612-11.xml http://itrc.hp.com/service/cki/docDisplay.do?docId=c00805100 http://itrc.hp.com/service/cki/docDisplay.do?docId=c00805100 http://itrc.hp.com/service/cki/docDisplay.do?docId=c00849540 http://itrc.hp.com/service/cki/docDisplay.do?docId=c00849540 https://www2.itrc.hp.com/service/cki/docDisplay.do?docId=c00967144 https://www2.itrc.hp.com/service/cki/docDisplay.do?docId=c00967144 https://www2.itrc.hp.com/service/cki/docDisplay.do?docId=c00967144 http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01118771 http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01118771 http://www.mandriva.com/security/advisories?name=MDKSA-2006:172 http://www.mandriva.com/security/advisories?name=MDKSA-2006:177 http://www.mandriva.com/security/advisories?name=MDKSA-2006:178 http://openbsd.org/errata.html#openssl2 http://www.openpkg.org/security/advisories/OpenPKG-SA-2006.021-openssl.html http://www.redhat.com/support/errata/RHSA-2006-0695.html ftp://patches.sgi.com/support/free/security/advisories/20061001-01-P.asc http://slackware.com/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.676946 http://sunsolve.sun.com/search/document.do?assetkey=1-26-102668-1 http://sunsolve.sun.com/search/document.do?assetkey=1-26-102711-1 http://www.novell.com/linux/security/advisories/200658openssl.html http://www.novell.com/linux/security/advisories/200624sr.html http://www.trustix.org/errata/2006/0054 http://www.ubuntu.com/usn/usn-353-1 http://www.us-cert.gov/cas/techalerts/TA06-333A.html http://www.kb.cert.org/vuls/id/386964 http://www.securityfocus.com/bid/20246 http://www.securityfocus.com/bid/22083 http://www.frsirt.com/english/advisories/2006/3820 http://www.frsirt.com/english/advisories/2006/3860 http://www.frsirt.com/english/advisories/2006/3902 http://www.frsirt.com/english/advisories/2006/3869 http://www.frsirt.com/english/advisories/2006/3936 http://www.frsirt.com/english/advisories/2006/4036 http://www.frsirt.com/english/advisories/2006/4264 http://www.frsirt.com/english/advisories/2006/4417 http://www.frsirt.com/english/advisories/2006/4401 http://www.frsirt.com/english/advisories/2006/4443 http://www.frsirt.com/english/advisories/2006/4750 http://www.frsirt.com/english/advisories/2007/0343 http://www.frsirt.com/english/advisories/2007/1401 http://www.frsirt.com/english/advisories/2007/1973 http://www.frsirt.com/english/advisories/2007/2783 http://www.osvdb.org/29263 http://securitytracker.com/id?1016943 http://securitytracker.com/id?1017522 http://secunia.com/advisories/22130 http://secunia.com/advisories/22094 http://secunia.com/advisories/22165 http://secunia.com/advisories/22186 http://secunia.com/advisories/22193 http://secunia.com/advisories/22207 http://secunia.com/advisories/22259 http://secunia.com/advisories/22260 http://secunia.com/advisories/22166 http://secunia.com/advisories/22172 http://secunia.com/advisories/22212 http://secunia.com/advisories/22240 http://secunia.com/advisories/22216 http://secunia.com/advisories/22116 http://secunia.com/advisories/22220 http://secunia.com/advisories/22284 http://secunia.com/advisories/22330 http://secunia.com/advisories/22385 http://secunia.com/advisories/22460 http://secunia.com/advisories/22500 http://secunia.com/advisories/22544 http://secunia.com/advisories/22626 http://secunia.com/advisories/22487 http://secunia.com/advisories/22758 http://secunia.com/advisories/22799 http://secunia.com/advisories/22791 http://secunia.com/advisories/22772 http://secunia.com/advisories/23038 http://secunia.com/advisories/23155 http://secunia.com/advisories/22298 http://secunia.com/advisories/23309 http://secunia.com/advisories/23280 http://secunia.com/advisories/23340 http://secunia.com/advisories/23680 http://secunia.com/advisories/23794 http://secunia.com/advisories/23915 http://secunia.com/advisories/24950 http://secunia.com/advisories/25420 http://secunia.com/advisories/25889 http://secunia.com/advisories/26329 http://xforce.iss.net/xforce/xfdb/29240
httpprotocol.c in (1) IBM HTTP Server 6.0 before 6.0.2.13 and 6.1 before 6.1.0.1, and (2) Apache HTTP Server 1.3 before 1.3.35, 2.0 before 2.0.58, and 2.2 before 2.2.2, does not sanitize the Expect header from an HTTP request when it is reflected back in an error message, which might allow cross-site scripting (XSS) style attacks using web client components that can send arbitrary headers in requests, as demonstrated using a Flash SWF file.
Eval injection vulnerability in PEAR XMLRPC 1.3.0 and earlier (aka XML-RPC or xmlrpc) and PHPXMLRPC (aka XML-RPC For PHP or php-xmlrpc) 1.1 and earlier, as used in products such as (1) WordPress, (2) Serendipity, (3) Drupal, (4) egroupware, (5) MailWatch, (6) TikiWiki, (7) phpWebSite, (8) Ampache, and others, allows remote attackers to execute arbitrary PHP code via an XML file, which is not properly sanitized before being used in an eval statement.
Buffer overflow in the clusterprocessheartbeat function in cluster.c in layer 2 tunneling protocol network server (l2tpns) before 2.1.21 allows remote attackers to cause a denial of service via a large heartbeat packet.
Multiple buffer overflows in Imagemagick 6.0 before 6.0.6.2, and 6.2 before 6.2.4.5, has unknown impact and user-assisted attack vectors via a crafted SGI image.
Mozilla Firefox 2.x before 2.0.0.1, 1.5.x before 1.5.0.9, Thunderbird before 1.5.0.9, and SeaMonkey before 1.0.7 allows remote attackers to bypass cross-site scripting (XSS) protection by changing the src attribute of an IMG element to a javascript: URI.
Unspecified vulnerability in Mozilla Firefox 2.x before 2.0.0.1, 1.5.x before 1.5.0.9, Thunderbird before 1.5.0.9, and SeaMonkey before 1.0.7 allows remote attackers to gain privileges and install malicious code via the watch Javascript function.