151 Commits

Author SHA1 Message Date
Nagalakshmi Veeramallu e5cdb6bcb6 CVE-2018-11652 nikto: arbitray OS command injection via http server field.
CSV Injection vulnerability in Nikto 2.1.6 and earlier allows remote attackers
to inject arbitrary OS commands via the Server field in an HTTP response header,
 which is directly injected into a CSV report.

Signed-off-by: Nagalakshmi Veeramallu <nveeramallu@mvista.com>
Reviewed-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
2018-07-03 15:35:25 -07:00
Armin Kuster 99a63fd097 suricata: update package to 3.1.3
*Changes*

Bug #1861: Suricata with multi tenancy does not start in 3.1/3.1.1
Bug #1889: Suricata doesn't error on missing semicolon
Bug #1910: libhtp 0.5.23 (3.1.x)
Bug #1912: http.memcap reached condition can lead to dead lock
Bug #1913: af-packet fanout detection broken on Debian Jessie
Bug #1933: unix-command socket created with last character missing (3.1.x)
Bug #1934: make install-full does not install tls-events.rules (3.1.x)
Bug #1941: Can't set fast_pattern on tls_sni content (3.1.x)
Bug #1942: dns - back to back requests results in loss of response (3.1.x)
Bug #1943: Check redis reply in non pipeline mode (3.1.x)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-02 09:06:39 -07:00
Armin Kuster 5069b211fe samhain: update to 4.2.0
* Changes:

  - New option 'SetAuditdFlags = r|w|x|a' to (re-)define the flags supplied
    to auditd.

  - New option 'PortCheckDevice = device' for the port check module, to monitor
    a device regardless of the address assigned to it.

  - Fix for the case sensitivity of the arguments to the Severity/Class options.

  - Compiler warnings with gcc 6.2 and a few minor bugs have been fixed.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-02 09:06:39 -07:00
Armin Kuster 9476dde5f9 nmap: Upgrade package to 7.31
LIC_FILES_CHKSUM change do to yr going from 2015 to 2016 in file.
Added "no update" config option.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-02 09:06:39 -07:00
Armin Kuster 742a99778b smack: Add new package
V2:
Fix typo and add LDFLAG to makefile

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-02 09:06:39 -07:00
Armin Kuster b68613ae06 suricata: update package to 3.1.2
v2:
rebased against master-next which has 3.1

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-01 09:03:15 -07:00
Armin Kuster 0a795d49ac samhain: recipe cleanup
add a few distro feature checks.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-01 09:03:15 -07:00
Armin Kuster 75bc31d94f package-group: fix tpm package list
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-01 09:03:15 -07:00
Armin Kuster 9fb87c6c73 images: add a client and server image
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-01 09:03:15 -07:00
Armin Kuster 399e636c9f package-group: Add tpm packages
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-01 09:03:15 -07:00
Armin Kuster 2d9a16062b image: at image to help test builds
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-11-01 09:03:15 -07:00
Armin Kuster eca59bda74 suricata: package update to 3.1.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-10-19 15:37:38 -07:00
Mark Asselstine 5b4ee1ee2c clamav: fixup improper quoting
Commit 217e06badb [clamav: fix gcc 6.x
build failure.] fixed a typo in "PACKAGECONFIG" (was missing the 'G')
but unfortunately the PACKAGECONFIG string was incorrectly formed due
to mismatched quotes. This caused a parsing error:

  ERROR: Unable to parse .../meta-security/recipes-security/clamav/clamav_0.99.2.bb
  ...

Removed the unneeded quotes to fix the parsing issue.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-10-11 20:48:41 -07:00
Jackie Huang 793d60e5fa scapy: upgrade to 2.3.2
* update the SRC_URI since it's been moved
  from bitbucket to github.

* add ptest support

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-10-11 01:39:29 -07:00
Armin Kuster f41ed27588 paxctl: Fix QA warning
WARNING: paxctl-0.9-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '...../build/tmp-glibc/work/core2-64-oe-linux/paxctl/0.9-r0/packages-split/paxctl/sbin/paxctl' [ldflags]

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-10-11 01:39:29 -07:00
Joe Slater fdbb174036 paxctl: allow build of paxctl-native
paxctl-native is needed to build paxtest.

Do not use the install target in Makefile for paxctl-native, it will
fail with error:

  install: cannot change ownership of '.../sbin/paxctl': \
  Operation not permitted

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-10-11 01:39:29 -07:00
Armin Kuster 217e06badb clamav: fix gcc 6.x build failure.
./llvm/include/llvm/Support/AlignOf.h:57:24: error: expected unqualified-id before 'alignof'
 static inline unsigned alignof() { return AlignOf<T>::Alignment; }
                        ^~~~~~~

configure --with-system-llvm --with-llvm-linking=dynamic.

define use with meta-oe LLVM3.3 via config option

Fix typo for systemd PACKAGECONFIG

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-10-11 01:39:29 -07:00
Wang Xin d49df5e37c samhain: 4.1.4 -> 4.1.5
1) Upgrade samhain from 4.1.4 to 4.1.5.
2) Add TARGET_CC_ARCH.Fix error.
    ERROR: samhain-server-4.1.5-r0 do_package_qa: QA Issue: No GNU_HASH in the elf binary: '/yocto/work001/fnst/wangx/poky/build/tmp/work/i586-poky-linux/samhain-server/4.1.5-r0/packages-split/samhain-server/usr/sbin/yule_setpwd'
    No GNU_HASH in the elf binary: '/yocto/work001/fnst/wangx/poky/build/tmp/work/i586-poky-linux/samhain-server/4.1.5-r0/packages-split/samhain-server/usr/sbin/yulectl' [ldflags]

Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-10-11 01:39:11 -07:00
Jonathan Liu cd59718eb0 libseccomp: update to latest
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-08-20 10:22:59 -07:00
Armin Kuster 0ba8cd8b20 suricata: update to 3.0.2
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-06-26 11:47:29 -07:00
Armin Kuster 7717b77059 tripwire: update to 2.4.3.1
this also fixes clang and gcc 5.3 build issues

remove merged patches

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-06-26 11:47:29 -07:00
Armin Kuster b8319ce072 samhain: update to 4.1.4
4.1.4:
  - Fix for issues with re-evaluation of paths with wildcard patterns:
        - no re-evaluation if no match at process startup
        - if same pattern used for a file=.. and dir=.. directive, only
          one (the first in config file) is re-evaluated

  - Fix for issues with new directories created when inotify is used:
        - recursion depth is not properly set for new directory
        - directory gets watched even if recursion depth should be below zero

4.1.3:
  - Fix for a regression in DNS resolving if samhain is compiled
    with '--enable-static'

  - On Cygwin/Windows, the default for the 'AvoidBlock' option is now 'off'
    because of problems reported for this platform.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-06-26 11:47:29 -07:00
Armin Kuster a49ec3441f nmap: fix several new QA warnings.
WARNING: nmap-7.12-r0 do_package: QA Issue: nmap: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/bin/ndiff
  /usr/bin/nping
  /usr/bin/ncat
  /usr/lib/python2.7
  /usr/lib/python2.7/site-packages
  /usr/lib/python2.7/site-packages/ndiff.pyc
  /usr/lib/python2.7/site-packages/ndiff.py
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
nmap: 8 installed and not shipped files. [installed-vs-shipped]

remove crazyness and let the system figure out packaging info
remove ndiff.py* as the compiled version is installed in /usr/bin
  and remove the leftover python site-package cruft.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-06-26 11:47:29 -07:00
Lei Maohui e5ef0f1582 samhain: Avoid empty source archiver
It is better to put necessary work into do_patch task than add a new task.
Otherwise,you can not get correct source code in some functions(such as archiver.bbclass).

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
2016-06-26 11:47:29 -07:00
Armin Kuster 8511a96b26 clamav: update package to 0.99.2
remove unused patches.
remove merged patches

move files to /file for easier maintenance

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-25 18:48:11 -07:00
Armin Kuster f82b858dbd clamav: Fix new QA warning
NOTE:meta-security/recipes-security/clamav/clamav_0.99.1.bb: base_contains is deprecated, please use bb.utils.contains instead.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-25 18:48:11 -07:00
Armin Kuster 144b8e872a sssd: Fix new QA warning
NOTE:meta-security/recipes-security/sssd/sssd_1.13.3.bb: base_contains is deprecated, please use bb.utils.contains instead.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-05-25 18:48:11 -07:00
Armin Kuster ae256956d8 sssd: add new package
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-23 08:03:42 -07:00
Armin Kuster b27f894dc9 libdhash: add package
required by sssd

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-23 08:03:42 -07:00
Armin Kuster 6636db9dcd clamav: fix lib version mismatch
drop lib version in package name
drop insane and remove broken symlink
Use LEAD_SONAME
Don't hard code lib version in tasks
Use native chrpath not the host provided version

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-23 08:03:09 -07:00
Armin Kuster 73f384257d clamav: update to 0.99.1
removed debian patches
brut force remove rpaths

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-23 08:02:56 -07:00
Armin Kuster d3ec54611d suricata: update package to 3.0.1
- fixes for multiple stability issues
- many memory leak fixes
- Hyperscan MPM support (experimental)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-23 08:02:48 -07:00
Armin Kuster 6b96adf479 nmap: update to 7.12
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-23 08:02:42 -07:00
Armin Kuster f6aaf45604 paxctl: fix compile issue.
use CC from build not host via EXTRA_OEMAKE

thanks khem

this fixes the below error.
WARNING: paxctl-0.9-r0 do_package_qa: QA Issue: /sbin/paxctl contained in package paxctl requires libc.so.6(GLIBC_2.3.4)(64bit), but no providers found in RDEPENDS_paxctl? [file-rdeps]

minor recipe cleanup

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-11 07:31:28 -07:00
Armin Kuster edb340e81d nmap: update to 7.11
https://nmap.org/changelog.html

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-04-11 07:31:28 -07:00
Li Xin e55b217bfa samhain-client: Erorr Fix
The Error is as following:
 # /usr/sbin/samhain -t init -p info
 ......
 Segmentation fault
 # echo $?
 139

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-03-14 12:52:45 -07:00
Armin Kuster ab117a8642 tripwire: Fix build issue for armeb
add config parama for armeb

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-03-14 12:52:45 -07:00
Armin Kuster 162653fd27 suricata: update to 3.0
removed patch no longer needded.
LIC_FILES_CHKSUM changed do to copyright date updates.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-03-14 12:52:45 -07:00
Armin Kuster 86ae983fb2 nmap: update to version 7.0.1
fixed WARNING: QA Issue: /usr/bin/ndiff_nmap contained in package nmap requires /usr/bin/python2.7, but no providers found in its RDEPENDS [file-rdeps]

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-03-14 12:52:32 -07:00
Armin Kuster 40741acf5c suricata: package update to 2.0.11
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-01-17 15:38:19 -08:00
Armin Kuster f776c61311 samhain-client: update to 4.1.2
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-01-17 15:38:19 -08:00
Armin Kuster 623f5ed922 Samhain: package update to 4.1.2
4.1.1 Changes:
 - Fix for broken libwrap support.
 - Fix for broken baseline update (-t update) on FreeBSD and maybe other non GNU/Linux systems.
 - Fix for ungraceful handling of rotated logiles if logfile content is always zero or constant.
 - Fix for timezone offset calculation on month rollover for timezones west of GMT.

4.1.2 Changes:
 - Fix for broken rpm / rpm-light makefile targets.
 - Fix for the failure to detect open UDP ports sometimes.
 - Fix for reporting file changes with the wrong policy if both inotify is
   used and the file change occurs during a configuration reload.
 - New configure options --enable-posix-acl and --enable-selinux to turn the
   soft failure (no support for checking compiled in) into a hard failure
   if required headers/libraries are missing for this feature.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-01-17 15:38:19 -08:00
Armin Kuster 9eba881355 nmap: package update to 7.0
removed integrated patch
Changed LIC_FILES_CHKSUM from generic OE to a file within the package
sources.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2016-01-17 15:37:58 -08:00
Armin Kuster 41bac8038a suricata: update to version 2.0.9
Changes

Bug #1558: stream: retransmission not detected (2.0.x)
Bug #1550: Segmentation Fault at detect-engine-content-inspection.c:438
Bug #1564: defrag: evasion issue
Bug #1431: stream: last_ack update issue leading to stream gaps (2.0.x)
Bug #1483: 2.0.x backport: Leading whitespace in flowbits variable names
Bug #1490: http_host payload validation erroring on uppercase PCRE
metacharacters
Bug #1501: 2.0.x backport: Add HUP coverage to output json-log
Bug #1510: 2.0.x: address var parsing issue
Bug #1513: stream_size <= and >= modifiers function as < and > (equality
is not functional) (2.0.x)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-10-30 11:59:06 -07:00
Armin Kuster 81d33f70de libhtp: update to version 0.5.18
Changes

This is a minor bug-fix release:

- Fixed [#120] Trigger request line parsing on
incomplete request [Victor Julien]

- Fixed [#119] Fix uninitialized htp_tx_t::is_last value
in in htp_tx_res_process_body_data_ex() [Fedor Sakharov]

- Fixed [#118] Coverity-identified missing break in switch [Sam Baskinger]

- Fixed [#117] Coverity-identified issue of not checking
malloc() return value [Sam Baskinger]

- Fixed [#116] Fix coverity-identified leaked file descriptors
in unit test [Sam Baskinger]

- Fixed [#113] fix pkgconfig include dir [Eric Leblond]

- Fixed [#111] Connect plain http [Victor Julien]

- Fixed [#105] Do not invoke callbacks in htp_req_run_hook_body_data()
when there is no tx running. [Sam Baskinger]

- Fixed [#104] Modifiying HTTP methods to be rfc3253 compliant [Andreas Moe]

- Fixed [#103] Fixes [Victor Julien]

- Fixed [#101] Make including the autoconf config header safer [Brian Rectanus]

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-10-30 11:58:58 -07:00
Armin Kuster e3e0178af6 ccs-tools: update to 1.8.4
change LIC_CHKSUM to COPYING.css where the license statement resides.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-10-30 11:56:43 -07:00
Li Xin 36feac0d9d Fix an error when samhain -t check
Fixes an error when "samhain -t check" is executed.
The error is like this:
'ERROR: msg=<Record with bad version number in file signature database>,
subroutine=<sh_dbIO_getdataent>, path=<(null)>'

Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-10-30 11:56:15 -07:00
Armin Kuster d539506f78 samhain: update to 4.1.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-10-30 11:55:52 -07:00
Ioan-Adrian Ratiu b7ceefc96d clamav: Update source mirror
The source archive was deleted from the debian mirror; get it from
launchpad for now

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-10-08 07:25:08 -07:00
Armin Kuster bd30c8d843 nmap: fix build issue.
ncat/ncat_lua.c:174: undefined reference to `lua_remove'

ncat/ncat_lua.c:167: undefined reference to `lua_insert'

use internal lua support

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2015-10-08 07:08:47 -07:00