GithubHelp home page GithubHelp logo

Comments (6)

csfreak92 avatar csfreak92 commented on July 26, 2024

Seems like a good point. Maybe a common logging format is preventing log injection issues? Just thinking of possible cases why this was required.

from asvs.

jmanico avatar jmanico commented on July 26, 2024

Seems like a good point. Maybe a common logging format is preventing log injection issues? Just thinking of possible cases why this was required.

A common logging format is different than the encoding needed to stop log injection.

from asvs.

elarlang avatar elarlang commented on July 26, 2024

Seems like a good point. Maybe a common logging format is preventing log injection issues? Just thinking of possible cases why this was required.

Like Jim said, log injection is a different topic and it is covered by 7.3.1:

# Description L1 L2 L3 CWE
7.3.1 Verify that all logging components appropriately encode data to prevent log injection. (C9) 117

Common logging format is helpful for log readers for log correlation - if you watch/import 2 different log sources/files, you can align the same type of information. Nowadays there are every kind of log readers available that provides "adapters" - so that is why I opened the issue - do we actually need to require it?

from asvs.

tghosth avatar tghosth commented on July 26, 2024

Sounds like a basic but important requirement to me

from asvs.

elarlang avatar elarlang commented on July 26, 2024

To be clear, I don't want to remove it. I think it requires an exception for log readers which can work as adapters and read different formats.

Something like:
Verify that logs are readable and correlatable for the used log reader, preferably by using a common logging format.

from asvs.

tghosth avatar tghosth commented on July 26, 2024

I can support that

from asvs.

Related Issues (20)

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.