Code Monkey home page Code Monkey logo

vb_3845's Introduction

VB_3845

124

vb_3845's People

Contributors

cxflowtestuser avatar nimrodgolan avatar

Watchers

 avatar

vb_3845's Issues

CX Hardcoded_password_in_Connection_String @ encode.frm [master]

Hardcoded_password_in_Connection_String issue exists @ encode.frm in branch master

The application contains hardcoded connection details, ""connection string"", at line 1 of encode.frm. This connection string contains a hardcoded password, which is used in System.Data.SqlClient at line 1 of encode.frm to connect to a database server with open. This can expose the database password, and impede proper password management. 

Severity: Medium

CWE:547

Vulnerability details and guidance

Checkmarx

Training
Recommended Fix

Lines: 67


Code (Line #67):

conn.Open "connection string"

CX SQL_Injection @ encode.frm [master]

SQL_Injection issue exists @ encode.frm in branch master

Method cmdUnsafe_Click at line 34 of encode.frm gets user input from the text element. This element’s value then flows through the code without being properly sanitized or validated, and is eventually used in a database query in method cmdUnsafe_Click at line 34 of encode.frm. This may enable an SQL Injection attack.

Severity: High

CWE:89

Vulnerability details and guidance

Checkmarx

Training
Recommended Fix

Lines: 41 42


Code (Line #41):

    user_name = txtUserName.Text

Code (Line #42):

    password = txtPassword.Text

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.