{"vuid":"VU#247371","idnumber":"247371","name":"Borland/Inprise Interbase SQL database server contains backdoor superuser account with known password","keywords":["Groton Database Systems","Ashton Tate","Borland","Inprise","Interbase","InterBase Software Corporation","SQL database","SuperServer","backdoor","trapdoor","trojan horse","open source","Firebird","kinobi","port 3050","gds_db","RDBMS","isc4.gdb"],"overview":"","clean_desc":"Interbase is an open source database package that is distributed by Borland/Inprise. The server contains a compiled-in backdoor account with a known password. In the following interbase code, references are made about a LOCKSMITH user: ./jrd/dyn.e\n./jrd/isc.c\n./jrd/jrd.c\n./jrd/pwd.c\n./jrd/pwd.h\n./jrd/scl.e\n./jrd/scl.h\n./jrd/shut.c\n./jrd/tra.c\n./utilities/dba_full.e It turns out the LOCKSMITH is an entity needed to allow \"authorized\" interaction with the security accounts database between services. This LOCKSMITH is the user account in question compiled into the code with full-access to the security accounts database by default. The compiled-in code can be found in the jrd/pwd.h header which defines the macros in question: #define LOCKSMITH_USER  \"politically\"\n#define LOCKSMITH_PASSWORD \"correct\" While it appears the password is transmitted over the wire encrypted, since the password is hard-coded, the security afforded is negligible. Once the LOCKSMITH account is compromised, the SYSDBA account priviledges can be used to gain control of all database objects (tables, records, fields, stroed procedures, etc). Once database access is gained, user defined functions (UDFs) can be used to implant trojan horses and programs which can be used to gain root (system) privileges on the system hosting the server. This vulnerability was not introduced by unauthorized modifications to the original vendor's source. It was introduced by maintainers of the code within Borland. The back door account password can not be changed using normal operational commands, nor can the account be deleted from existing vulnerable servers. The best solution at this time is to upgrade vulnerable binaries and source code with fixes that are being distributed by Borland and the Firebird Project (IBPhoenix).","impact":"This backdoor allows any local user or remote user able to access port 3050/tcp [gds_db] to manipulate any database object on the system. This includes the ability to install trapdoors or other trojan horse software in the form of stored procedures. In addition, if the database software is running with root (*NIX) or System (NT) privileges, then any file on the server's file system can be overwritten, possibly leading to execution of arbitrary commands as root or System.","resolution":"Install the patch being distributed to change the backdoor server account password.","workarounds":"Block access to port 3050/tcp; this will not, however, prevent local users or users within a firewall's adminstrative boundary from accessing the backdoor account.","sysaffected":"","thanks":"","author":"This document was written by Jeffrey S Havrilla.","public":["http://www.borland.com/interbase/downloads/patches.html","http://www.borland.com/interbase/","http://community.borland.com/interbase/","http://sourceforge.net/projects/interbase","http://sourceforge.net/projects/firebird","http://sourceforge.net/projects/firebirdashes","http://firebird.sourceforge.net","http://www.ibphoenix.com","http://www.ibphoenix.com/sec1.html","http://firebird.ibphoenix.com","http://www.interbase2000.com","http://sourceforge.net/cvs/?group_id=1962 [Borland Interbase]","http://sourceforge.net/cvs/?group_id=9052 [FirebirdAshes]"],"cveids":["CVE-2001-0008"],"certadvisory":"CA-2001-01","uscerttechnicalalert":null,"datecreated":"2000-12-27T15:36:51Z","publicdate":"2001-01-09T00:00:00Z","datefirstpublished":"2001-01-10T15:29:13Z","dateupdated":"2001-01-11T16:01:48Z","revision":49,"vrda_d1_directreport":"","vrda_d1_population":"","vrda_d1_impact":"","cam_widelyknown":"1","cam_exploitation":"0","cam_internetinfrastructure":"8","cam_population":"15","cam_impact":"16","cam_easeofexploitation":"18","cam_attackeraccessrequired":"15","cam_scorecurrent":"10.935","cam_scorecurrentwidelyknown":"34.02","cam_scorecurrentwidelyknownexploited":"58.32","ipprotocol":"","cvss_accessvector":"","cvss_accesscomplexity":"","cvss_authentication":null,"cvss_confidentialityimpact":"","cvss_integrityimpact":"","cvss_availabilityimpact":"","cvss_exploitablity":null,"cvss_remediationlevel":"","cvss_reportconfidence":"","cvss_collateraldamagepotential":"","cvss_targetdistribution":"","cvss_securityrequirementscr":"","cvss_securityrequirementsir":"","cvss_securityrequirementsar":"","cvss_basescore":"","cvss_basevector":"","cvss_temporalscore":"","cvss_environmentalscore":"","cvss_environmentalvector":"","metric":10.935,"vulnote":null}