Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Import CPE list #53

Open
RochdiMrayhi opened this issue Jan 17, 2022 · 4 comments
Open

Can't Import CPE list #53

RochdiMrayhi opened this issue Jan 17, 2022 · 4 comments
Labels
3.8.0 Will get included in 3.8 bug Something isn't working

Comments

@RochdiMrayhi
Copy link

I can't import CPE list
I tried with direct URL to the list but I coudn't import it from Nist website
I tried also to download the CPE file and extract it on the local server but it does not work also

@markov2
Copy link
Contributor

markov2 commented Jan 17, 2022

Can you please be more specific:

  1. what kind of error message did you see on the screen.
  2. What message did you find in the log-files.
  3. Which version of Taranis are you running?
  4. Is your Taranis a brand new installation, or an upgrade?
  5. Have you installed CPEs before on this instance?
  6. Which CPE list file are you trying to import?

@RochdiMrayhi
Copy link
Author

taranis-cpe
You can find the error message here, it tries to process the XML file import but it does not finish
this is a fresh installation of Taranis version 3.7.5
I can add manually but I can't import XML file (I tried with both ghraphical interface and commands)
I tried to search for logs but I don't know to look exactly, all the log files I consulted much information

@markov2
Copy link
Contributor

markov2 commented Jan 25, 2022

You didn't get more info during the CLI import either? (6) which file did you try (I can try it in my own environment)

(The client-side) Ajax errors mean: serious crash on the server side. You can find the error in file /tmp/taranis.errors On distibutions where systemd puts apache in a chroot prepend /tmp/systemd*apache2*

@markov2
Copy link
Contributor

markov2 commented Feb 1, 2022

It's a pity that you could to find the error message. But I may have been able to solve the issue anyway.

Apparently, NIST has changed it website a bit. The CPE's are downloaded in ~taranis/taranis-3.7.5/perl5/Taranis/Command/CPE.pm. On line 20, it defines the base location in NIST as static.nvd.nist.gov. Please remove static. and try to import it again.

We do create all CPE's by hand: the standard list is too detailed for our use.

@markov2 markov2 added 3.8.0 Will get included in 3.8 bug Something isn't working labels Feb 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.8.0 Will get included in 3.8 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants